Add no-ident for GCC when -d:release (#12454)

This commit is contained in:
Juan Carlos 2019-10-18 09:13:55 -03:00 • committed by Andreas Rumpf
commit 4a0debfe87
2 changed files with 7 additions and 7 deletions

View file

@ -63,8 +63,8 @@ compiler gcc:
result = ( result = (
name: "gcc", name: "gcc",
objExt: "o", objExt: "o",
optSpeed: " -O3 ", optSpeed: " -O3 -fno-ident",
optSize: " -Os ", optSize: " -Os -fno-ident",
compilerExe: "gcc", compilerExe: "gcc",
cppCompiler: "g++", cppCompiler: "g++",
compileTmpl: "-c $options $include -o $objfile $file", compileTmpl: "-c $options $include -o $objfile $file",

View file

@ -207,15 +207,15 @@ clang.objc.options.linker = "-lobjc -lgnustep-base"
gcc.options.linker %= "-L $WIND_BASE/target/lib/usr/lib/ppc/PPC32/common -mrtp -fno-strict-aliasing -D_C99 -D_HAS_C9X -std=c99 -fasm -Wall -Wno-write-strings" gcc.options.linker %= "-L $WIND_BASE/target/lib/usr/lib/ppc/PPC32/common -mrtp -fno-strict-aliasing -D_C99 -D_HAS_C9X -std=c99 -fasm -Wall -Wno-write-strings"
@end @end
gcc.options.speed = "-O3 -fno-strict-aliasing" gcc.options.speed = "-O3 -fno-strict-aliasing -fno-ident"
gcc.options.size = "-Os" gcc.options.size = "-Os -fno-ident"
@if windows: @if windows:
gcc.options.debug = "-g3 -Og -gdwarf-3" gcc.options.debug = "-g3 -Og -gdwarf-3"
@else: @else:
gcc.options.debug = "-g3 -Og" gcc.options.debug = "-g3 -Og"
@end @end
gcc.cpp.options.speed = "-O3 -fno-strict-aliasing" gcc.cpp.options.speed = "-O3 -fno-strict-aliasing -fno-ident"
gcc.cpp.options.size = "-Os" gcc.cpp.options.size = "-Os -fno-ident"
gcc.cpp.options.debug = "-g3 -Og" gcc.cpp.options.debug = "-g3 -Og"
#passl = "-pg" #passl = "-pg"