From 937314e526dbfbcb7fb873b2dd497c9587690250 Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Tue, 14 Aug 2018 13:35:51 -0400 Subject: [PATCH] ArchitectureRules: Enable --no-undefined on GCC2. Seems to work just fine. --- build/jam/ArchitectureRules | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build/jam/ArchitectureRules b/build/jam/ArchitectureRules index 91a44caa90..96d7683a46 100644 --- a/build/jam/ArchitectureRules +++ b/build/jam/ArchitectureRules @@ -151,10 +151,10 @@ rule ArchitectureSetup architecture HAIKU_DEBUG_$(level)_C++FLAGS_$(architecture) = $(flags) ; } - if $(gccVersion[1]) >= 3 { - # TODO: Temporary work-around. Should be defined in the compiler specs - HAIKU_LINKFLAGS_$(architecture) += -Xlinker --no-undefined ; - } else { + # TODO: Temporary work-around. Should be defined in the compiler specs + HAIKU_LINKFLAGS_$(architecture) += -Xlinker --no-undefined ; + + if $(gccVersion[1]) < 3 { HAIKU_DEFINES_$(architecture) += _BEOS_R5_COMPATIBLE_ ; }