summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2014-08-23 12:11:27 +0400
committerIgor Pashev <pashev.igor@gmail.com>2014-08-23 12:11:27 +0400
commit8f46198e544328c600f3cc9579d151834ac49383 (patch)
tree2abc2e61328c6f7b0baad1ffdfce489d278c382b
parent94c6769811542c30c27c05f59b904fff5c280600 (diff)
downloadllvm-toolchain-3.5-8f46198e544328c600f3cc9579d151834ac49383.tar.gz
Use -Wl,--no-keep-memory to reduce memory pressure
-rwxr-xr-xdebian/rules4
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index d7ccd14..3dd5c65 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,7 +22,9 @@ DEB_HOST_ARCH = $(shell dpkg-architecture -qDEB_HOST_ARCH)
OCAML_STDLIB_DIR ?= $(shell ocamlc -where)
-LDFLAGS_EXTRA=
+# linking needs a lot of memory:
+LDFLAGS_EXTRA= -Wl,--no-keep-memory
+
CXXFLAGS_EXTRA=
CONFIGURE_EXTRA=