diff options
author | luigi <luigi@FreeBSD.org> | 2013-11-01 18:29:27 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2013-11-01 18:29:27 +0000 |
commit | 03bfda952a4e5693ef47698c51485b9280e6c627 (patch) | |
tree | 6c011c109a7fdfa54efdfbc251d803e0e1d78610 /release | |
parent | f1a1b2ea9b8098bf85f36266353951f64ddb24cd (diff) | |
download | FreeBSD-src-03bfda952a4e5693ef47698c51485b9280e6c627.zip FreeBSD-src-03bfda952a4e5693ef47698c51485b9280e6c627.tar.gz |
small cleanup for building picobsd-head without CLANG.
Note that svn 257268 gnu/usr.bin/binutils/ld/Makefile
seems to break the "toolchain" target when building HEAD
on RELENG_9, so until this is solved you may want to
svn update -r 257267 gnu/usr.bin/binutils/ld/Makefile
before building picobsd
Diffstat (limited to 'release')
-rwxr-xr-x | release/picobsd/build/picobsd | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/release/picobsd/build/picobsd b/release/picobsd/build/picobsd index fdbefb5..f2c847b 100755 --- a/release/picobsd/build/picobsd +++ b/release/picobsd/build/picobsd @@ -166,12 +166,6 @@ create_includes_and_libraries2() { # opt_dir opt_target log "create_includes_and_libraries2() for ${SRC} $1" if [ ${OSVERSION} -ge 600000 ] ; then no="-DNO_CLEAN -DNO_PROFILE -DNO_GAMES -DNO_LIBC_R" # WITHOUT_CDDL=1" - #no="$no -DWITHOUT_CLANG -DMALLOC_PRODUCTION" - # XXX 20131001 see if clang fixes the build - export WITHOUT_CLANG=YES - export WITHOUT_ICONV=YES - export WITH_GCC=YES - export WITH_GNUCXX=YES no="$no -DMALLOC_PRODUCTION" else no="-DNOCLEAN -DNOPROFILE -DNOGAMES -DNOLIBC_R" @@ -981,15 +975,16 @@ set_build_parameters() { export MAKEOBJDIRPREFIX=${l_objtree} export TARGET_ARCH=${o_arch} TARGET=${o_arch} # XXX 20131001 see if CLANG fixes the build - # XXX export WITHOUT_CLANG_IS_CC=1 - export WITHOUT_CLANG=YES - export WITHOUT_ICONV=YES - export WITH_GCC=YES - export WITH_GNUCXX=YES + export WITHOUT_CLANG_IS_CC=yes + export WITH_GCC=yes + export WITH_GNUCXX=yes + export WITHOUT_CLANG=yes + export WITHOUT_ICONV=yes # XXX why change machine_arch ? #-- export MACHINE_ARCH=`uname -m` MACHINE=`uname -m` # export CWARNFLAGS="-Wextra -Wno-sign-compare -Wno-missing-field-initializers" + # XXX BINMAKE does not really exist anymore eval "export BINMAKE=\"`cd ${SRC}; make -f Makefile -V BINMAKE`\"" [ "$BINMAKE" = "" ] && \ eval "export BINMAKE=\"`cd ${SRC}; make -f Makefile -V SUB_MAKE`\"" |