diff options
author | trav90 <travawine@palemoon.org> | 2022-04-16 13:38:50 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2022-04-16 13:52:46 -0500 |
commit | f13d3569f4c2606ff90978d74bed33ba1db82556 (patch) | |
tree | 4f332b420fabef43fb97665cd93fc49baa9b9352 /build | |
parent | 3db2172afe31ff6658909bd884b3429b0e9143e1 (diff) | |
download | aura-central-f13d3569f4c2606ff90978d74bed33ba1db82556.tar.gz |
Issue #22 - 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.m4 | 4 | ||||
-rw-r--r-- | build/autoconf/features.configure | 13 |
2 files changed, 2 insertions, 15 deletions
diff --git a/build/autoconf/compiler-opts.m4 b/build/autoconf/compiler-opts.m4 index 99990332f..2bf303eb0 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" diff --git a/build/autoconf/features.configure b/build/autoconf/features.configure index f1d6c3517..d04f42cf2 100644 --- a/build/autoconf/features.configure +++ b/build/autoconf/features.configure @@ -1996,19 +1996,6 @@ dnl ======================================================== MOZ_ARG_HEADER(Compiler Options) dnl ======================================================== -dnl Check for gcc -pipe support -dnl ======================================================== -AC_MSG_CHECKING([for -pipe support]) -if test -n "$GNU_CC" -a -n "$GNU_CXX"; then - dnl Any gcc that supports firefox supports -pipe. - CFLAGS="$CFLAGS -pipe" - CXXFLAGS="$CXXFLAGS -pipe" - AC_MSG_RESULT([yes]) -else - AC_MSG_RESULT([no]) -fi - -dnl ======================================================== dnl Profile guided optimization (gcc checks) dnl ======================================================== dnl Test for profiling options |