summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorhaawda2017-12-24 00:43:43 +0100
committerhaawda2017-12-24 00:43:43 +0100
commit4c2ecd489513d69f796edf94dbe712fc47b34229 (patch)
tree13e0f304b84bba781b879d8bf41ce90bb133563a /PKGBUILD
parentce96a97ba9c7cba5a26c66e7dc0f683533029b7e (diff)
downloadaur-4c2ecd489513d69f796edf94dbe712fc47b34229.tar.gz
avoid some compiler warnings during build
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a116bdf5850c..0ffb4d53314c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=racket-git
-pkgver=6.11.0.4.38292.164b3abed1
+pkgver=6.11.0.5.38300.36d563d7ce
pkgrel=1
pkgdesc="Minimal Racket installation, without DrRacket, from git"
arch=('i686' 'x86_64')
@@ -29,7 +29,7 @@ build() {
cd ${srcdir}/${_gitname}/${_gitname}/src
[[ -d build ]] || mkdir build
cd build
- [[ "$CARCH" == "x86_64" ]] && export CFLAGS+=" -fPIC"
+ [[ "$CARCH" == "x86_64" ]] && export CFLAGS+=" -fPIC -O2"
../configure --prefix=/usr --sysconfdir=/etc --enable-shared --disable-strip
make
}