summaryrefslogtreecommitdiffstats
path: root/release/picobsd/build
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2012-12-23 22:41:54 +0000
committerluigi <luigi@FreeBSD.org>2012-12-23 22:41:54 +0000
commit59cd15065c1301153ea8bfc71730fbf51f2d7e43 (patch)
tree3cd0fc2a6630d48e7fced9d20c4c1af12e0782b5 /release/picobsd/build
parentedc5efb0c38c751969af4edb3fb5d2e9067654de (diff)
downloadFreeBSD-src-59cd15065c1301153ea8bfc71730fbf51f2d7e43.zip
FreeBSD-src-59cd15065c1301153ea8bfc71730fbf51f2d7e43.tar.gz
enable building picobsd with CC instead of CLANG
Diffstat (limited to 'release/picobsd/build')
-rwxr-xr-xrelease/picobsd/build/picobsd3
1 files changed, 3 insertions, 0 deletions
diff --git a/release/picobsd/build/picobsd b/release/picobsd/build/picobsd
index ae602b2..bc78832 100755
--- a/release/picobsd/build/picobsd
+++ b/release/picobsd/build/picobsd
@@ -445,6 +445,8 @@ do_kernel() { # OK
${BINMAKE} ${o_par} KERNCONF=${l_kernconf} \
-v -f ${PICO_TREE}/build/Makefile.conf ) || \
fail $? missing_kernel
+# -DWITHOUT_CLANG_IS_CC \
+
}
# Populate the variable part of the floppy filesystem. Must be done before
@@ -973,6 +975,7 @@ set_build_parameters() {
if [ ${OSVERSION} -ge 500035 ] ; then
export MAKEOBJDIRPREFIX=${l_objtree}
export TARGET_ARCH=${o_arch} TARGET=${o_arch}
+ export WITHOUT_CLANG_IS_CC=1
# XXX why change machine_arch ?
#-- export MACHINE_ARCH=`uname -m` MACHINE=`uname -m`
# export CWARNFLAGS="-Wextra -Wno-sign-compare -Wno-missing-field-initializers"
OpenPOWER on IntegriCloud