summaryrefslogtreecommitdiff
path: root/xcrysden
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-06-03 11:18:34 +0200
committerErich Eckner <git@eckner.net>2020-06-03 11:18:34 +0200
commit527875fae0d05bbc0416bb1458797aac3507fcdf (patch)
treee209343149ec8000b415e4050b64211050b6a01f /xcrysden
parent9a49f72a15ac549d153120791e635d3e199508bc (diff)
downloadarchlinuxewe-527875fae0d05bbc0416bb1458797aac3507fcdf.tar.xz
xcrysden: fix compilation with gcc
Diffstat (limited to 'xcrysden')
-rw-r--r--xcrysden/Make.sys2
-rw-r--r--xcrysden/PKGBUILD2
2 files changed, 2 insertions, 2 deletions
diff --git a/xcrysden/Make.sys b/xcrysden/Make.sys
index eb5876313..b2d8c5f0a 100644
--- a/xcrysden/Make.sys
+++ b/xcrysden/Make.sys
@@ -16,7 +16,7 @@ MAKE = make
#------------------------------------------------------------------------
# compilers & flags
#------------------------------------------------------------------------
-CFLAGS = -ffast-math -funroll-loops -fPIC -DUSE_FONTS -pedantic -Wall -DUSE_INTERP_RESULT
+CFLAGS = -ffast-math -funroll-loops -fPIC -DUSE_FONTS -pedantic -Wall -DUSE_INTERP_RESULT -fcommon -O2
CC = gcc -g
#LDLIB = -ldl
MATH = -lm -lc
diff --git a/xcrysden/PKGBUILD b/xcrysden/PKGBUILD
index 1a3e09c25..aab6e97c8 100644
--- a/xcrysden/PKGBUILD
+++ b/xcrysden/PKGBUILD
@@ -17,7 +17,7 @@ source=("http://www.xcrysden.org/download/xcrysden-${pkgver}.tar.gz"
"Make.sys")
sha512sums=('9ed1b7fc11674509a3f2bf6604aa11e087fd77a971afb93039ca542cb9abb62b2553c7f386b845f004df5d3d340bdf1fe673552319788f006fd031efb6a4ad67'
'17981ae72fc1b1d36388830c49ebc5d5d6916ee56c06b3fd3132edbe21a880d39bd85903183a4270b494e510e2c76d9276660ffeed92d6cc34abf33c3b2ae0ff'
- '2ed95be6a775cdca1a61634948065ebc2ce2ecd305b30140b8a04b1785c0546344f511755510a9e6634afb6ff0aaa82f02565682d62cf6657f3b8039d37a7453')
+ 'd6f2a09a54570e6a0d0c8540d6c4eeffb12ffe9b5ed5840bcb61c48f4329e1ef5114d2c5b7882057465458fce7b78dec8fb009a761a5aa0e444d35458840ec8e')
prepare() {
mv Make.sys "$pkgname-$pkgver"