summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrelease/picobsd/build/picobsd4
1 files changed, 3 insertions, 1 deletions
diff --git a/release/picobsd/build/picobsd b/release/picobsd/build/picobsd
index a6cf4ca..ae602b2 100755
--- a/release/picobsd/build/picobsd
+++ b/release/picobsd/build/picobsd
@@ -7,6 +7,8 @@
#
# picobsd [options] image_type [site_name]
#
+# CWARNFLAGS can be used to pass -Wall or similar options
+#
# Where image_type is a directory with the picobsd config info,
# and ${image_type}/floppy.tree.${site_name} contains
# optional site-specific configuration.
@@ -164,7 +166,7 @@ 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"
+ no="$no -DWITHOUT_CLANG -DMALLOC_PRODUCTION"
else
no="-DNOCLEAN -DNOPROFILE -DNOGAMES -DNOLIBC_R"
fi
OpenPOWER on IntegriCloud