community/codeblocks to 16.01-7.1

This commit is contained in:
Kevin Mihelich 2017-01-14 20:13:15 +00:00
parent 5f0a7f382f
commit 9f47c951b9

View file

@ -7,11 +7,11 @@
# Contributor: Roman Mikhayloff <rimf@inbox.ru>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - comment out x86 cflags
# - comment out x86 cflags, just switch to -O0
pkgname=codeblocks
pkgver=16.01
pkgrel=7
pkgrel=7.1
pkgdesc='Cross-platform C/C++ IDE'
arch=('x86_64' 'i686')
url='http://www.codeblocks.org/'
@ -33,6 +33,7 @@ build() {
#export CFLAGS="-mtune=generic -O0 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
#export CXXFLAGS="-mtune=generic -O0 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
#export LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
CFLAGS=`echo $CFLAGS | sed -e 's/-O2/-O0/'` && CXXFLAGS="$CFLAGS"
./bootstrap
./configure --prefix=/usr --with-contrib-plugins=all