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:
parent
11ae3c5fe7
commit
1af12dfb22
|
@ -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)) ;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue