variorum: update package for CCE (#29656)
CCE needs additional compiler flags.
This commit is contained in:
parent
49498af9ec
commit
5afdccba06
@ -54,6 +54,11 @@ def cmake_args(self):
|
||||
|
||||
cmake_args.append('-DJANSSON_DIR={0}'.format(spec['jansson'].prefix))
|
||||
|
||||
if spec.satisfies('%cce'):
|
||||
cmake_args.append('-DCMAKE_C_FLAGS=-fcommon')
|
||||
cmake_args.append('-DCMAKE_CCC_FLAGS=-fcommon')
|
||||
cmake_args.append('-DCMAKE_Fortran_FLAGS=-ef')
|
||||
|
||||
if "+shared" in spec:
|
||||
cmake_args.append("-DBUILD_SHARED_LIBS=ON")
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user