diff options
author | gjb <gjb@FreeBSD.org> | 2014-04-23 01:27:53 +0000 |
---|---|---|
committer | gjb <gjb@FreeBSD.org> | 2014-04-23 01:27:53 +0000 |
commit | 55b80a1d2ee4d461ed67d607830a21dca6e646f0 (patch) | |
tree | 4a24129bbd0e4b47ad49927b17a8e5270aef4317 | |
parent | 47b4d0222ce0fd55f9617976ea382e89af16e524 (diff) | |
download | FreeBSD-src-55b80a1d2ee4d461ed67d607830a21dca6e646f0.zip FreeBSD-src-55b80a1d2ee4d461ed67d607830a21dca6e646f0.tar.gz |
MFC r264518, r264697, r264698, r264703:
r264518:
Fix armv6 build failure: "armv6-freebsd-gcc: not found"
r264697:
When building the 'xdev' target when WITH_GCC=1 and
WITHOUT_CLANG_IS_CC=1, it appears WITHOUT_CLANG=1 must
also be set.
While here, reorder the lines to put the WITH_* and
WITHOUT_* entries on the same line.
r264698:
Fix EOL escape.
r264703:
Apply a slightly different color hammer to arm/release.sh:
- gcc(1) fails to build usr.bin/dtc
- lack of WITH_GNUCXX=1 causes cc1plus(1) calls to fail
- u-boot fails to build with clang (hard-coded gcc(1) calls)
Implement the proper incantation of WITH_/WITHOUT_ knobs
to get arm snapshot builds working again.
Since the cc(1) binary no longer needs to be cc(1) instead of
clang(1), remove the chroot(8) post-install cc(1) overwrite.
Sponsored by: The FreeBSD Foundation
-rwxr-xr-x | release/arm/release.sh | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/release/arm/release.sh b/release/arm/release.sh index 2ab5cad..c067fe9 100755 --- a/release/arm/release.sh +++ b/release/arm/release.sh @@ -92,14 +92,10 @@ 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 ${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 \ + WITH_GCC=1 WITH_GNUCXX=1 WITHOUT_CLANG_IS_CC=1 \ + XDEV=${XDEV} XDEV_ARCH=${XDEV_ARCH} \ ${WORLD_FLAGS} xdev # Run the ldconfig(8) startup script so /var/run/ld-elf*.so.hints |