2
0
mirror of https://frontier.innolan.net/github/amigaos-cross-toolchain6.git synced 2024-10-19 10:29:55 +00:00

@R removed -O3 from CFLAGS

It seems that some gcc version do not generate correct code with -O3
This commit is contained in:
Stefan "Bebbo" Franke
2017-03-17 12:38:13 +01:00
committed by GitHub
parent af8c14fd7d
commit f8840349b6

View File

@ -381,7 +381,7 @@ def build():
config.guess script knows nothing about x86-64 or darwin.
"""
with env(CC=CC, CXX=CXX, CFLAGS='-O3 -Wall', CXXFLAGS='-O3 -Wall'):
with env(CC=CC, CXX=CXX, CFLAGS='-g -Wall', CXXFLAGS='-g -Wall'):
configure('{binutils}',
'--prefix={target}',
'--host=i686-linux-gnu',
@ -394,7 +394,7 @@ def build():
unpack('{ixemul}', top_dir='ixemul')
patch('{ixemul}')
with env(CC=CC, CXX=CXX, CFLAGS='-O3 -Wall', CXXFLAGS='-O3 -Wall'):
with env(CC=CC, CXX=CXX, CFLAGS='-g -Wall', CXXFLAGS='-g -Wall'):
configure('{gcc}',
'--prefix={target}',
'--host=i686-linux-gnu',