Fix test_app_server build.

Fixes #15536.
This commit is contained in:
Adrien Destugues 2019-12-31 13:15:30 +01:00
parent 620d0707d7
commit 32158f3d64
2 changed files with 6 additions and 5 deletions

View File

@ -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) ;

View File

@ -22,6 +22,12 @@ rule TargetLibstdc++ asPath
# Returns the c++-standard-library for the target.
# Invoking with <asPath> = 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)