* When using the non-legacy compiler, use the c++ and gcc headers
provided in the gcc_syslibs_devel build feature for building Haiku. * Simplify declaration of c++ and gcc headers for the legacy compiler - in the end we always use the ones living by our source tree anyway. * Fix a couple of missing local declarations for jam variables, which were necessary to avoid a build problem with strace. There are probably more bugs like these hiding in our build system files, but I'm saving the fix for those to the next commit. * Add new gcc packages to the HaikuPorts (x86*-)repositories.
This commit is contained in:
@@ -274,7 +274,8 @@ rule CreateAsmStructOffsetsHeader header : source
|
||||
}
|
||||
|
||||
} else {
|
||||
sysHeaders += $(TARGET_HDRS_$(TARGET_PACKAGING_ARCH)) ;
|
||||
sysHeaders += [ FStandardHeaders $(TARGET_PACKAGING_ARCH) ]
|
||||
$(TARGET_HDRS_$(TARGET_PACKAGING_ARCH)) ;
|
||||
defines += $(TARGET_DEFINES_$(TARGET_PACKAGING_ARCH))
|
||||
$(TARGET_DEFINES) ;
|
||||
}
|
||||
@@ -491,6 +492,8 @@ rule LinkAgainst
|
||||
local mapLibs = $(3:E=true) ;
|
||||
|
||||
on $(target) {
|
||||
local i ;
|
||||
|
||||
# map libraries, if desired and target platform is Haiku
|
||||
local map = $(TARGET_LIBRARY_NAME_MAP_$(TARGET_PACKAGING_ARCH)) ;
|
||||
if $(PLATFORM) != host && $(mapLibs) = true && $(map) {
|
||||
|
||||
Reference in New Issue
Block a user