]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Revert "make.sh: Use -pipe in CFLAGS when host has >1GB of memory"
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 13 Nov 2017 21:49:15 +0000 (21:49 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 13 Nov 2017 21:49:15 +0000 (21:49 +0000)
This reverts commit 7e1639a4810e5e70db94fdb0a0a98593d50d4290.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
tools/make-functions

index 9cf2fcfb472f0f10da31c293e06fa1e99539924a..b7e957e1856bc65c4ef4c91dff11686b7a76bf77 100644 (file)
@@ -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