[arch-commits] Commit in gcc/trunk (PKGBUILD)

Frederik Schwan freswa at gemini.archlinux.org
Sat Feb 26 22:31:13 UTC 2022


    Date: Saturday, February 26, 2022 @ 22:31:13
  Author: freswa
Revision: 438182

cleanup by Toolybird

- CPPFLAGS hack no longer needed
- `--enable-pgo-build=lto' is only applicable to binutils. 
  There is no reference to it in the 11.2 tarball. In fact, 
  if you try to use it on GCC trunk it errors out.

See FS#73961

Modified:
  gcc/trunk/PKGBUILD

----------+
 PKGBUILD |    4 ----
 1 file changed, 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-26 22:22:21 UTC (rev 438181)
+++ PKGBUILD	2022-02-26 22:31:13 UTC (rev 438182)
@@ -66,9 +66,6 @@
   # Arch Linux installs x86_64 libraries /lib
   sed -i '/m64=/s/lib64/lib/' gcc/config/i386/t-linux64
 
-  # hack! - some configure tests for header files using "$CPP $CPPFLAGS"
-  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" gcc/configure
-
   # D hacks
   patch -Np1 -i "$srcdir/gdc_phobos_path.patch"
 
@@ -99,7 +96,6 @@
       --enable-linker-build-id \
       --enable-lto \
       --enable-multilib \
-      --enable-pgo-build=lto \
       --enable-plugin \
       --enable-shared \
       --enable-threads=posix \



More information about the arch-commits mailing list