[haiku-commits] haiku: hrev53692 - build/jam src/libs/stdc++/legacy

  • From: waddlesplash <waddlesplash@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 5 Jan 2020 17:21:37 -0500 (EST)

hrev53692 adds 1 changeset to branch 'master'
old head: 6ca34a59b582f885bffa9186c83894a1a3a55ef2
new head: a1e74397a17ddc927e5f24eec99c4edb6b5921e3
overview: 
https://git.haiku-os.org/haiku/log/?qt=range&q=a1e74397a17d+%5E6ca34a59b582

----------------------------------------------------------------------------

a1e74397a17d: build: Rework gcc2 test_app_server build logic a bit.

                              [ Augustin Cavalier <waddlesplash@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev53692
Commit:      a1e74397a17ddc927e5f24eec99c4edb6b5921e3
URL:         https://git.haiku-os.org/haiku/commit/?id=a1e74397a17d
Author:      Augustin Cavalier <waddlesplash@xxxxxxxxx>
Date:        Sun Jan  5 22:17:41 2020 UTC

----------------------------------------------------------------------------

3 files changed, 7 insertions(+), 6 deletions(-)
build/jam/MainBuildRules       | 5 +++++
build/jam/SystemLibraryRules   | 6 ------
src/libs/stdc++/legacy/Jamfile | 2 ++

----------------------------------------------------------------------------

diff --git a/build/jam/MainBuildRules b/build/jam/MainBuildRules
index ac9fded5ec..800f91ade5 100644
--- a/build/jam/MainBuildRules
+++ b/build/jam/MainBuildRules
@@ -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) ;
diff --git a/build/jam/SystemLibraryRules b/build/jam/SystemLibraryRules
index 0310b2a6c9..d7d75cc7f7 100644
--- a/build/jam/SystemLibraryRules
+++ b/build/jam/SystemLibraryRules
@@ -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)
diff --git a/src/libs/stdc++/legacy/Jamfile b/src/libs/stdc++/legacy/Jamfile
index 26637ff21d..53e89366b4 100644
--- a/src/libs/stdc++/legacy/Jamfile
+++ b/src/libs/stdc++/legacy/Jamfile
@@ -1,5 +1,7 @@
 SubDir HAIKU_TOP src libs stdc++ legacy ;
 
+AddSubDirSupportedPlatforms libbe_test ;
+
 local architectureObject ;
 for architectureObject in [ MultiArchSubDirSetup x86_gcc2 ] {
        on $(architectureObject) {


Other related posts:

  • » [haiku-commits] haiku: hrev53692 - build/jam src/libs/stdc++/legacy - waddlesplash