ArchitectureRules: Enable --no-undefined on GCC2.

Seems to work just fine.
This commit is contained in:
Augustin Cavalier
2018-08-14 13:54:36 -04:00
parent b24d095e90
commit 937314e526
+2 -2
View File
@@ -151,10 +151,10 @@ rule ArchitectureSetup architecture
HAIKU_DEBUG_$(level)_C++FLAGS_$(architecture) = $(flags) ; HAIKU_DEBUG_$(level)_C++FLAGS_$(architecture) = $(flags) ;
} }
if $(gccVersion[1]) >= 3 {
# TODO: Temporary work-around. Should be defined in the compiler specs # TODO: Temporary work-around. Should be defined in the compiler specs
HAIKU_LINKFLAGS_$(architecture) += -Xlinker --no-undefined ; HAIKU_LINKFLAGS_$(architecture) += -Xlinker --no-undefined ;
} else {
if $(gccVersion[1]) < 3 {
HAIKU_DEFINES_$(architecture) += _BEOS_R5_COMPATIBLE_ ; HAIKU_DEFINES_$(architecture) += _BEOS_R5_COMPATIBLE_ ;
} }