summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2012-08-27 16:42:32 +0000
committerluigi <luigi@FreeBSD.org>2012-08-27 16:42:32 +0000
commit2d97353026d07c9c363dd26d7aa2a6ff233d2e9a (patch)
tree21f93f130d5eec56722727babfcba16cdabd1de3 /release
parent7685cb7599fe1207f6008b27f5074376ec9116e9 (diff)
downloadFreeBSD-src-2d97353026d07c9c363dd26d7aa2a6ff233d2e9a.zip
FreeBSD-src-2d97353026d07c9c363dd26d7aa2a6ff233d2e9a.tar.gz
use MALLOC_PRODUCTION for picobsd builds, be more frugal in memory usage.
Diffstat (limited to 'release')
-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