summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Zou2019-01-05 10:21:55 +0100
committerMichel Zou2019-01-05 10:21:55 +0100
commitb83ecca9881c9b104038618750deafcf1835dd87 (patch)
treed18155a920e77124bde98240f3db0ea356db6312
parent7a274fbba2f79d3ff76a5edfaa501c903fbda114 (diff)
downloadaur-b83ecca9881c9b104038618750deafcf1835dd87.tar.gz
update flags
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a54b4444877..e8c53864d1b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = mingw-w64-glew
pkgdesc = GLEW, The OpenGL Extension Wrangler Library (mingw-w64)
pkgver = 2.1.0
- pkgrel = 2
+ pkgrel = 3
url = http://glew.sourceforge.net/
arch = any
license = Modified BSD/MIT/GPL
diff --git a/PKGBUILD b/PKGBUILD
index 646d9c13aeb..97e56a1361f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=mingw-w64-glew
pkgver=2.1.0
-pkgrel=2
+pkgrel=3
pkgdesc="GLEW, The OpenGL Extension Wrangler Library (mingw-w64)"
arch=('any')
url="http://glew.sourceforge.net/"
@@ -34,7 +34,7 @@ build() {
LD="${_arch}-gcc" \
LDFLAGS.GL="-lopengl32 -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32" \
LDFLAGS.EXTRA="" \
- CFLAGS.EXTRA="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4" \
+ CFLAGS.EXTRA="-D_FORTIFY_SOURCE=2 -O2 -pipe -fno-plt -fexceptions --param=ssp-buffer-size=4" \
all
done
}