Skip to content

Commit 0610e4e

Browse files
move -Nclang back to C[XX]FLAGS in fujitsu compiler definition
1 parent 6b1db3a commit 0610e4e

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

easybuild/toolchains/compiler/fujitsu.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,8 @@ class FujitsuCompiler(Compiler):
4646
COMPILER_MODULE_NAME = [TC_CONSTANT_MODULE_NAME]
4747
COMPILER_FAMILY = TC_CONSTANT_FUJITSU
4848

49-
# make sure fcc is always called in clang compatibility mode
50-
COMPILER_CC = 'fcc -Nclang'
51-
COMPILER_CXX = 'FCC -Nclang'
49+
COMPILER_CC = 'fcc'
50+
COMPILER_CXX = 'FCC'
5251

5352
COMPILER_F77 = 'frt'
5453
COMPILER_F90 = 'frt'
@@ -89,9 +88,8 @@ def _set_compiler_vars(self):
8988
super(FujitsuCompiler, self)._set_compiler_vars()
9089

9190
# enable clang compatibility mode
92-
# moved to compiler constants to make sure it is always used
93-
# self.variables.nappend('CFLAGS', ['Nclang'])
94-
# self.variables.nappend('CXXFLAGS', ['Nclang'])
91+
self.variables.nappend('CFLAGS', ['Nclang'])
92+
self.variables.nappend('CXXFLAGS', ['Nclang'])
9593

9694
# make sure the fujitsu module libraries are found (and added to rpath by wrapper)
9795
libdir = os.path.join(os.getenv(TC_CONSTANT_MODULE_VAR), 'lib64')

0 commit comments

Comments
 (0)