summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authortrav90 <travawine@palemoon.org>2022-04-15 08:28:24 -0500
committertrav90 <travawine@palemoon.org>2022-04-15 08:30:32 -0500
commitf5c363c01db0ece0ce58e47ca2e63f677f07ff1c (patch)
treed2a7d1f51525311d4023feb9092c091e6b0a4142 /build
parent41fc1ccf4dfd91f17cf7cff804589a235a295159 (diff)
downloaduxp-f5c363c01db0ece0ce58e47ca2e63f677f07ff1c.tar.gz
Issue #1818 - Part 4: always use -pipe with GCC
Usable GCC versions have supported -pipe for a VERY long time. There's no need to keep checking if it is supported.
Diffstat (limited to 'build')
-rw-r--r--build/autoconf/compiler-opts.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/build/autoconf/compiler-opts.m4 b/build/autoconf/compiler-opts.m4
index 99990332f9..2bf303eb0c 100644
--- a/build/autoconf/compiler-opts.m4
+++ b/build/autoconf/compiler-opts.m4
@@ -176,8 +176,8 @@ if test "$GNU_CC"; then
CFLAGS="$CFLAGS -ffunction-sections -fdata-sections"
CXXFLAGS="$CXXFLAGS -ffunction-sections -fdata-sections"
fi
- CFLAGS="$CFLAGS -fno-math-errno"
- CXXFLAGS="$CXXFLAGS -fno-exceptions -fno-math-errno"
+ CFLAGS="$CFLAGS -fno-math-errno -pipe"
+ CXXFLAGS="$CXXFLAGS -fno-exceptions -fno-math-errno -pipe"
if test "$CPU_ARCH" = "x86" -o "$CPU_ARCH" = "x86_64"; then
CFLAGS="$CFLAGS -msse2 -mfpmath=sse"