Pass WORLD_FLAGS to the gcc and xdev builds.
Building gnu/usr.bin/cc/ with '-j' set blows up quite impressively, so add '-j1' after WORLD_FLAGS, and add a comment explaining why '-j1' is there. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
7bcf52bd4d
commit
227c919124
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/user/gjb/hacking/release-embedded/; revision=261489
@ -61,11 +61,14 @@ install_uboot() {
|
||||
|
||||
main() {
|
||||
# Build gcc for use in the chroot for arm builds.
|
||||
# This is not '-j'-safe, so force '-j1' to allow using
|
||||
# additional, non-'-j' options specified in WORLD_FLAGS.
|
||||
eval chroot ${CHROOTDIR} make -C /usr/src/gnu/usr.bin/cc \
|
||||
WITH_GCC=1 obj depend all install
|
||||
WITH_GCC=1 ${WORLD_FLAGS} -j1 obj depend all install
|
||||
# Build the 'xdev' target for crochet.
|
||||
eval chroot ${CHROOTDIR} make -C /usr/src \
|
||||
XDEV=${XDEV} XDEV_ARCH=${XDEV_ARCH} WITH_GCC=1 xdev
|
||||
XDEV=${XDEV} XDEV_ARCH=${XDEV_ARCH} WITH_GCC=1 \
|
||||
${WORLD_FLAGS} xdev
|
||||
|
||||
# Run the ldconfig(8) startup script so /var/run/ld-elf*.so.hints
|
||||
# is created.
|
||||
|
Loading…
Reference in New Issue
Block a user