Skip to content

Commit f9b8818

Browse files
committed
patch CPP to replace the use of /usr/bin/cpp
1 parent b6b4395 commit f9b8818

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

easybuild/easyblocks/w/wps.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ def configure_step(self):
231231
'DM_CC': os.getenv('MPICC'),
232232
'FC': os.getenv('MPIF90'),
233233
'CC': os.getenv('MPICC'),
234+
'CPP': 'cpp -P -traditional',
234235
}
235236
if self.toolchain.options.get('openmp', None):
236237
comps.update({'LDFLAGS': '%s %s' % (self.toolchain.get_flag('openmp'), os.environ['LDFLAGS'])})

0 commit comments

Comments
 (0)