removing completely the write_make_inc function
This commit is contained in:
parent
614c4d1876
commit
27d52badb1
@ -72,8 +72,7 @@ def extra_features(self, makefile_inc, defines):
|
||||
|
||||
makefile_inc.append('LDFLAGS = %s' % ' '.join(ldflags))
|
||||
|
||||
|
||||
def write_make_inc(self):
|
||||
def patch(self):
|
||||
makefile_inc = []
|
||||
defines = [
|
||||
'-DCOMMON_RANDOM_FIXED_SEED',
|
||||
@ -101,12 +100,9 @@ def write_make_inc(self):
|
||||
''
|
||||
])
|
||||
|
||||
with open('Makefile.inc', 'w') as fh:
|
||||
fh.write('\n'.join(makefile_inc))
|
||||
|
||||
def patch(self):
|
||||
with working_dir('src'):
|
||||
self.write_make_inc()
|
||||
with open('Makefile.inc', 'w') as fh:
|
||||
fh.write('\n'.join(makefile_inc))
|
||||
|
||||
def install(self, spec, prefix):
|
||||
targets = ['scotch']
|
||||
|
Loading…
Reference in New Issue
Block a user