From 1af12dfb221391a73e94f6567f7984e1eeab7adc Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Fri, 1 Aug 2014 15:09:50 +0200 Subject: [PATCH] Drop Jamfile for building non-legacy libstdc++.so. * We no longer fake it by converting the static lib into a shared one. --- src/libs/stdc++/current/Jamfile | 36 --------------------------------- 1 file changed, 36 deletions(-) delete mode 100644 src/libs/stdc++/current/Jamfile diff --git a/src/libs/stdc++/current/Jamfile b/src/libs/stdc++/current/Jamfile deleted file mode 100644 index 6561d8756f..0000000000 --- a/src/libs/stdc++/current/Jamfile +++ /dev/null @@ -1,36 +0,0 @@ -SubDir HAIKU_TOP src libs stdc++ current ; - - -rule CreateSharedC++LibraryFromArchive sharedLib : staticLib -{ - LINKFLAGS on $(sharedLib) = [ on $(sharedLib) return $(LINKFLAGS) ] - -Xlinker --strip-debug -Xlinker --whole-archive ; - - SharedLibraryFromObjects $(sharedLib) : : $(staticLib) ; -} - - -local architectureObject ; -for architectureObject in [ MultiArchSubDirSetup ] { - on $(architectureObject) { - local architecture = $(TARGET_PACKAGING_ARCH) ; - - if $(TARGET_GCC_VERSION_$(architecture)[1]) = 2 { - continue ; - } - - # create libstdc++.so from the libstdc++.a built with the compiler - if $(HAIKU_BUILD_SHARED_LIBSTDC++_$(architecture)) { - CreateSharedC++LibraryFromArchive - $(HAIKU_SHARED_LIBSTDC++_$(architecture)) - : $(HAIKU_STATIC_LIBSTDC++_$(architecture)) ; - } - - # create libsupc++.so from the libsupc++.a build with the compiler - if $(HAIKU_BUILD_SHARED_LIBSUPC++_$(architecture)) { - CreateSharedC++LibraryFromArchive - $(HAIKU_SHARED_LIBSUPC++_$(architecture)) - : $(HAIKU_STATIC_LIBSUPC++_$(architecture)) ; - } - } -}