libroot: Properly fix linking with libgcc without cmdline overflow
Instead of listing all the objects we want from the libgcc archive we just make a copy of it and remove those we don't want, and link to it. This should allow returning MAXLINE in jam to a sane value.
This commit is contained in:
@@ -154,6 +154,10 @@ rule ArchitectureSetup architecture
|
||||
HAIKU_GCC_LIBGCC_OBJECTS_$(architecture)
|
||||
= $(HAIKU_GCC_LIBGCC_OBJECTS_$(architecture):G=libgcc!$(architecture)) ;
|
||||
|
||||
# List of libgcc objects we don't want to keep
|
||||
HAIKU_GCC_LIBGCC_OBJECTS_EXCLUDES_$(architecture)
|
||||
= eabi.o ;
|
||||
|
||||
# the C++ standard library
|
||||
HAIKU_BUILD_SHARED_LIBSTDC++_$(architecture) = ;
|
||||
if $(HAIKU_SHARED_LIBSTDC++_$(architecture)) {
|
||||
|
||||
Reference in New Issue
Block a user