From 374c632c555507d99a32686d56d1ddc30cd7432d Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Sun, 25 Jan 2009 19:25:16 +0000 Subject: [PATCH] Rumour has it that we now have Haiku hosts with GCC > 2 as well. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29016 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- build/jam/BuildSetup | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build/jam/BuildSetup b/build/jam/BuildSetup index e980e5485f..a9c2dc432a 100644 --- a/build/jam/BuildSetup +++ b/build/jam/BuildSetup @@ -623,7 +623,12 @@ HOST_BUILD_COMPATIBILITY_LIB_DIR = [ FDirName $(HOST_OBJECT_BASE_DIR) lib ] ; HOST_RM_ATTRS_TARGET = ; if $(HOST_PLATFORM_BEOS_COMPATIBLE) { - HOST_LIBSTDC++ = stdc++.r4 ; + if $(HOST_GCC_VERSION[1]) < 3 { + HOST_LIBSTDC++ = stdc++.r4 ; + } else { + HOST_LIBSTDC++ = stdc++ ; + } + HOST_LIBROOT = root ; HOST_STATIC_LIBROOT = $(HOST_LIBROOT) ; HOST_LIBBE = be ;