forked from bartvdbraak/blender
A kludge to use the right compiler while freezing
using gcc under Irix -- without this it uses only 'cc -n32' (since this is what the sgi employee who compiled the python stuff used). Chris
This commit is contained in:
parent
e67802264a
commit
d52deb4397
@ -430,6 +430,13 @@ def main():
|
||||
somevars[key] = makevars[key]
|
||||
|
||||
somevars['CFLAGS'] = string.join(cflags) # override
|
||||
|
||||
# a kludge for Irix gcc builds
|
||||
irixgcccheck = parsesetup.getmakevars('Makefile')
|
||||
if (string.find(irixgcccheck['host_triplet'],'irix') != -1):
|
||||
if (string.find(irixgcccheck['CC'],'gcc') != -1):
|
||||
somevars['CC'] = 'gcc'
|
||||
|
||||
files = ['$(OPT)', '$(LDFLAGS)', base_config_c, base_frozen_c] + \
|
||||
files + supp_sources + addfiles + libs + \
|
||||
['$(MODLIBS)', '$(LIBS)', '$(SYSLIBS)']
|
||||
|
Loading…
Reference in New Issue
Block a user