From: Michael Tremer Date: Mon, 13 Nov 2017 21:49:15 +0000 (+0000) Subject: Revert "make.sh: Use -pipe in CFLAGS when host has >1GB of memory" X-Git-Tag: v2.19-core117~1^2~83 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=32e6d3e320bb21845f1cfaec4b0a23cf390250bd Revert "make.sh: Use -pipe in CFLAGS when host has >1GB of memory" This reverts commit 7e1639a4810e5e70db94fdb0a0a98593d50d4290. Signed-off-by: Michael Tremer --- diff --git a/tools/make-functions b/tools/make-functions index 9cf2fcfb47..b7e957e185 100644 --- a/tools/make-functions +++ b/tools/make-functions @@ -142,13 +142,7 @@ configure_build() { # Enables hardening HARDENING_CFLAGS="-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4" - CFLAGS="-O2 -Wall -fexceptions -fPIC ${CFLAGS_ARCH}" - - # Run compiler and assembler simultaneously on systems that have enough memory - if [ ${HOST_MEM} -ge 1024 ]; then - CFLAGS="${CFLAGS} -pipe" - fi - + CFLAGS="-O2 -pipe -Wall -fexceptions -fPIC ${CFLAGS_ARCH}" CXXFLAGS="${CFLAGS}" # Determine parallelism