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

Frederik Schwan freswa at gemini.archlinux.org
Sun May 15 02:44:36 UTC 2022


    Date: Sunday, May 15, 2022 @ 02:44:35
  Author: freswa
Revision: 445616

bail out of build process if expected variable is unset

Modified:
  gcc/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-15 02:41:59 UTC (rev 445615)
+++ PKGBUILD	2022-05-15 02:44:35 UTC (rev 445616)
@@ -112,7 +112,7 @@
   "$srcdir/gcc/configure" \
     --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ \
     --enable-bootstrap \
-    "${_confflags[@]}"
+    "${_confflags[@]:?_confflags unset}"
 
   # see https://bugs.archlinux.org/task/71777 for rationale re *FLAGS handling
   make -O STAGE1_CFLAGS="-O2" \
@@ -132,7 +132,7 @@
     --enable-languages=jit \
     --disable-bootstrap \
     --enable-host-shared \
-    "${_confflags[@]}"
+    "${_confflags[@]:?_confflags unset}"
 
   # see https://bugs.archlinux.org/task/71777 for rationale re *FLAGS handling
   make -O STAGE1_CFLAGS="-O2" \



More information about the arch-commits mailing list