Build the cross gcc for the secondary arch as such
Pass --enable-hybrid-secondary to gcc's configure when building it as a secondary compiler. Doesn't make a difference for building Haiku itself, but makes it easier to match the Haiku cross devel package with the compiler when building bootstrap packages with haikuporter. gcc 4 only ATM.
This commit is contained in:
@@ -135,6 +135,10 @@ if [ "$HAIKU_USE_GCC_GRAPHITE" = 1 ]; then
|
||||
--with-host-libstdcxx=\"-lstdc++\""
|
||||
fi
|
||||
|
||||
if [ -n "$SECONDARY_ARCH" ]; then
|
||||
gccConfigureArgs="$gccConfigureArgs --enable-hybrid-secondary"
|
||||
fi
|
||||
|
||||
# force the POSIX locale, as the build (makeinfo) might choke otherwise
|
||||
export LC_ALL=POSIX
|
||||
|
||||
|
||||
Reference in New Issue
Block a user