mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-28 05:49:33 +00:00
Compile i586 without sse instructions.
We need a to compile binaries without sse instructions (https://github.com/kiwix/kiwix-build/issues/94#issuecomment-376814014)
This commit is contained in:
@ -30,9 +30,9 @@ class linux_i586_toolchain(Toolchain):
|
||||
return '--host={}'.format(self.arch_full)
|
||||
|
||||
def set_env(self, env):
|
||||
env['CFLAGS'] = "-m32 -march=i586 "+env['CFLAGS']
|
||||
env['CXXFLAGS'] = "-m32 -march=i586 "+env['CXXFLAGS']
|
||||
env['LDFLAGS'] = "-m32 -march=i586 "+env['LDFLAGS']
|
||||
env['CFLAGS'] = "-m32 -march=i586 -mno-sse "+env['CFLAGS']
|
||||
env['CXXFLAGS'] = "-m32 -march=i586 -mno-sse "+env['CXXFLAGS']
|
||||
env['LDFLAGS'] = "-m32 -march=i586 -mno-sse "+env['LDFLAGS']
|
||||
|
||||
def get_bin_dir(self):
|
||||
return []
|
||||
|
Reference in New Issue
Block a user