X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=blobdiff_plain;f=tools%2Fmake-functions;h=b7e957e1856bc65c4ef4c91dff11686b7a76bf77;hp=9cf2fcfb472f0f10da31c293e06fa1e99539924a;hb=32e6d3e320bb21845f1cfaec4b0a23cf390250bd;hpb=9bb405536712b79f8b77771707c5dbc4002fc3f2 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