FIX: opal@2024.1.0%gcc@12.3 build

This commit is contained in:
svcusr-spack (Resp. Germann Elsa Sylvia)
2024-07-19 18:10:18 +02:00
parent 395260f1ec
commit 61ad0d8fc4
4 changed files with 14 additions and 11 deletions

View File

@@ -6,7 +6,7 @@ diff -u mithra-2.0.orig/makefile mithra-2.0/makefile
SHELL = /bin/sh
COMP = mpic++
+CFLAGS+=-fPIC
+CFLAGS+=-fPIC -fPIE
CFLAGS+=-std=c++11
CFLAGS+=-O3