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

Evangelos Foutras foutrelis at archlinux.org
Mon Mar 16 16:16:45 UTC 2015


    Date: Monday, March 16, 2015 @ 17:16:45
  Author: foutrelis
Revision: 233946

Cleanup options passed to ./configure

--enable-optimized is no longer based on whether the PKGBUILD specifies
'!strip' in options=(). This didn't work (FS#44210) and there's not much
reason to keep it in; people doing debug builds should amend the options
passed to ./configure.

Modified:
  llvm/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-03-16 15:20:54 UTC (rev 233945)
+++ PKGBUILD	2015-03-16 16:16:45 UTC (rev 233946)
@@ -83,10 +83,6 @@
 build() {
   cd "$srcdir/llvm-$pkgver.src"
 
-  # Apply strip option to configure
-  _optimized_switch="enable"
-  [[ $(check_option strip) == n ]] && _optimized_switch="disable"
-
   # Include location of libffi headers in CPPFLAGS
   CPPFLAGS+=" $(pkg-config --cflags libffi)"
 
@@ -96,16 +92,13 @@
     --prefix=/usr \
     --sysconfdir=/etc \
     --enable-shared \
+    --enable-optimized \
     --enable-libffi \
-    --enable-libedit \
     --enable-targets=all \
     --enable-bindings=ocaml \
-    --disable-expensive-checks \
-    --disable-debug-runtime \
     --disable-assertions \
     --with-binutils-include=/usr/include \
-    --with-python=/usr/bin/python2 \
-    --$_optimized_switch-optimized
+    --with-python=/usr/bin/python2
 
   make REQUIRES_RTTI=1
   make -C docs -f Makefile.sphinx man



More information about the arch-commits mailing list