FIX: opal@2024.1.0%gcc@12.3 build
This commit is contained in:

parent
395260f1ec
commit
61ad0d8fc4
@ -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
|
||||
|
||||
|
@ -18,6 +18,8 @@ class Mithra(MakefilePackage):
|
||||
|
||||
version("2.0", sha256="66f27ba6ca2c1ab05abb76338d00e661a6fe96b95283b85409c37625b4758deb")
|
||||
|
||||
patch("mithra-fPIC.patch")
|
||||
|
||||
variant("mpi", default=True, description="Enable MPI support")
|
||||
|
||||
depends_on("mpi", when="+mpi")
|
||||
|
Reference in New Issue
Block a user