Drop Jamfile for building non-legacy libstdc++.so.

* We no longer fake it by converting the static lib into a shared one.
This commit is contained in:
Oliver Tappe 2014-08-01 15:09:50 +02:00
parent 11ae3c5fe7
commit 1af12dfb22
1 changed files with 0 additions and 36 deletions

View File

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