build: Rework gcc2 test_app_server build logic a bit.
This commit is contained in:
parent
6ca34a59b5
commit
a1e74397a1
|
@ -271,6 +271,11 @@ 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) ;
|
||||
|
|
|
@ -22,12 +22,6 @@ 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)
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
SubDir HAIKU_TOP src libs stdc++ legacy ;
|
||||
|
||||
AddSubDirSupportedPlatforms libbe_test ;
|
||||
|
||||
local architectureObject ;
|
||||
for architectureObject in [ MultiArchSubDirSetup x86_gcc2 ] {
|
||||
on $(architectureObject) {
|
||||
|
|
Loading…
Reference in New Issue