fix compilation errors when bootstrapping with C++

This commit is contained in:
Zahary Karadjov 2012-06-04 01:56:10 +03:00
commit 4105a91c48
6 changed files with 41 additions and 25 deletions

View file

@ -62,6 +62,7 @@ hint[LineTooLong]=off
@if not bsd:
# -fopenmp
gcc.options.linker = "-ldl"
gpp.options.linker = "-ldl"
clang.options.linker = "-ldl"
tcc.options.linker = "-ldl"
@else:
@ -83,24 +84,23 @@ icc.options.linker = "-cxxlib"
tlsEmulation:on
@end
@end
gcc.options.debug = "-g3 -O0"
@if macosx:
tlsEmulation:on
@if not release:
gcc.options.always = "-w -fasm-blocks -O1"
@else:
gcc.options.always = "-w -fasm-blocks"
@end
gcc.options.always = "-w -fasm-blocks"
gpp.options.always = "-w -fasm-blocks"
@else:
@if not release:
gcc.options.always = "-w"
@else:
gcc.options.always = "-w"
@end
gcc.options.always = "-w"
gpp.options.always = "-w"
@end
gcc.options.speed = "-O3 -fno-strict-aliasing"
gcc.options.size = "-Os"
gcc.options.debug = "-g3 -O0"
gpp.options.speed = "-O3 -fno-strict-aliasing"
gpp.options.size = "-Os"
gpp.options.debug = "-g3 -O0"
#passl = "-pg"
# Configuration for the LLVM GCC compiler: