[arch-commits] Commit in llvm35/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Mon Mar 16 16:19:38 UTC 2015
Date: Monday, March 16, 2015 @ 17:19:38
Author: foutrelis
Revision: 233947
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:
llvm35/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-03-16 16:16:45 UTC (rev 233946)
+++ PKGBUILD 2015-03-16 16:19:38 UTC (rev 233947)
@@ -65,10 +65,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)"
@@ -78,14 +74,12 @@
--prefix=/usr \
--sysconfdir=/etc \
--enable-shared \
+ --enable-optimized \
--enable-libffi \
--enable-targets=all \
- --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