Adds grist to the LIBGCC_OBJECTS files.
Added UnarchiveObjects rule that dearchives "ar"-archives. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8311 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -70,6 +70,9 @@ GCC_VERSION = ;
|
|||||||
# Save the platform default headers.
|
# Save the platform default headers.
|
||||||
PLATFORM_DEFAULT_HEADERS = $(HDRS) ;
|
PLATFORM_DEFAULT_HEADERS = $(HDRS) ;
|
||||||
|
|
||||||
|
# Add some grist to the libgcc objects
|
||||||
|
LIBGCC_OBJECTS = $(LIBGCC_OBJECTS:G=libgcc) ;
|
||||||
|
|
||||||
# We do not include any local BeOS system headers by default
|
# We do not include any local BeOS system headers by default
|
||||||
CCFLAGS += -nostdinc ;
|
CCFLAGS += -nostdinc ;
|
||||||
C++FLAGS += -nostdinc ;
|
C++FLAGS += -nostdinc ;
|
||||||
@@ -1512,6 +1515,22 @@ actions Bison1
|
|||||||
[ -f $(1[1]).h ] && mv $(1[1]).h $(1[2]) || true
|
[ -f $(1[1]).h ] && mv $(1[1]).h $(1[2]) || true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rule UnarchiveObjects
|
||||||
|
{
|
||||||
|
# UnarchiveObjects <target objects> : <static object>
|
||||||
|
|
||||||
|
MakeLocate $(1) : $(LOCATE_TARGET) ;
|
||||||
|
Depends $(2) : $(1) ;
|
||||||
|
SEARCH on $(2) = $(SEARCH_SOURCE) ;
|
||||||
|
}
|
||||||
|
|
||||||
|
actions UnarchiveObjects
|
||||||
|
{
|
||||||
|
cd `dirname $(1[1])`
|
||||||
|
ar -x "$(2)" $(1)
|
||||||
|
cd -
|
||||||
|
}
|
||||||
|
|
||||||
# BeOS specific rules
|
# BeOS specific rules
|
||||||
|
|
||||||
rule XRes
|
rule XRes
|
||||||
|
|||||||
Reference in New Issue
Block a user