hrev54236 adds 1 changeset to branch 'master'
old head: 550e8532f8d928d79c1baa5e252586282a622563
new head: 13d66b6d24cc60e41b78c8f0f32013ea5bcab75d
overview:
https://git.haiku-os.org/haiku/log/?qt=range&q=13d66b6d24cc+%5E550e8532f8d9
----------------------------------------------------------------------------
13d66b6d24cc: Fix building on Haiku
[ Adrien Destugues <pulkomandy@xxxxxxxxxxxxx> ]
----------------------------------------------------------------------------
Revision: hrev54236
Commit: 13d66b6d24cc60e41b78c8f0f32013ea5bcab75d
URL: https://git.haiku-os.org/haiku/commit/?id=13d66b6d24cc
Author: Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
Date: Thu May 21 08:47:14 2020 UTC
----------------------------------------------------------------------------
1 file changed, 4 insertions(+), 1 deletion(-)
build/jam/BuildSetup | 5 ++++-
----------------------------------------------------------------------------
diff --git a/build/jam/BuildSetup b/build/jam/BuildSetup
index 28199e1399..0b3bf757df 100644
--- a/build/jam/BuildSetup
+++ b/build/jam/BuildSetup
@@ -304,7 +304,10 @@ if $(HOST_ARCH) = m68k {
if $(HOST_PLATFORM) != darwin {
# fix for new changes to DSO linking policies
- HOST_LINKFLAGS += -Xlinker --no-as-needed -Wl,--copy-dt-needed-entries ;
+ HOST_LINKFLAGS += -Xlinker --no-as-needed ;
+ if $(HOST_GCC_VERSION[1]) >= 3 {
+ HOST_LINKFLAGS += -Wl,--copy-dt-needed-entries ;
+ }
}