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))
|
makefile_inc.append('LDFLAGS = %s' % ' '.join(ldflags))
|
||||||
|
|
||||||
|
def patch(self):
|
||||||
def write_make_inc(self):
|
|
||||||
makefile_inc = []
|
makefile_inc = []
|
||||||
defines = [
|
defines = [
|
||||||
'-DCOMMON_RANDOM_FIXED_SEED',
|
'-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'):
|
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):
|
def install(self, spec, prefix):
|
||||||
targets = ['scotch']
|
targets = ['scotch']
|
||||||
|
Loading…
Reference in New Issue
Block a user