From 32158f3d64fd2c2c2a77a6777d70af163e7a944b Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Tue, 31 Dec 2019 13:15:30 +0100 Subject: [PATCH] Fix test_app_server build. Fixes #15536. --- build/jam/MainBuildRules | 5 ----- build/jam/SystemLibraryRules | 6 ++++++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/build/jam/MainBuildRules b/build/jam/MainBuildRules index 800f91ade5..ac9fded5ec 100644 --- a/build/jam/MainBuildRules +++ b/build/jam/MainBuildRules @@ -271,11 +271,6 @@ rule CreateAsmStructOffsetsHeader header : source local systemIncludesOption ; on $(header) { # use on $(1) variable values - if ! $(PLATFORM) in $(SUPPORTED_PLATFORMS) { - Echo $(PLATFORM) is not in SUPPORTED_PLATFORMS, cannot make struct-offsets header! ; - return ; - } - # headers and defines headers = $(HAIKU_CONFIG_HEADERS) $(SEARCH_SOURCE) $(SUBDIRHDRS) $(HDRS) ; diff --git a/build/jam/SystemLibraryRules b/build/jam/SystemLibraryRules index d7d75cc7f7..0310b2a6c9 100644 --- a/build/jam/SystemLibraryRules +++ b/build/jam/SystemLibraryRules @@ -22,6 +22,12 @@ rule TargetLibstdc++ asPath # Returns the c++-standard-library for the target. # Invoking with = true will return the full library path. + if $(TARGET_PLATFORM) = libbe_test { + if $(TARGET_PACKAGING_ARCH) = x86_gcc2 { + return stdc++.r4 ; + } + } + if $(TARGET_PLATFORM) = haiku || $(TARGET_PLATFORM) = libbe_test { if $(TARGET_PACKAGING_ARCH) = x86_gcc2 { # the libstdc++.so for our legacy compiler (needs to be built)