summaryrefslogtreecommitdiff
path: root/community/john/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-01-28 18:13:11 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2013-01-28 18:13:11 +0100
commit4271567f09adb2f9c7995fdbee811becdaba5525 (patch)
tree79a5ac7fa768fde011750130dcd880c8d2701246 /community/john/PKGBUILD
parent01346da4de50d9eda2660653fcaae6c1abfaa28a (diff)
Don't pass -march=loongson2f in PKGBUILDs.
This needs a proper fix of not replacing user's CFLAGS and fixing the issues leading to this workaround.
Diffstat (limited to 'community/john/PKGBUILD')
-rw-r--r--community/john/PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/community/john/PKGBUILD b/community/john/PKGBUILD
index ecf2f92a5..43470d592 100644
--- a/community/john/PKGBUILD
+++ b/community/john/PKGBUILD
@@ -40,7 +40,7 @@ build() {
sed -i 's|^LDFLAGS =\(.*\)|LDFLAGS =\1 -lm|' Makefile
sed -i -e 's|-m486||g' Makefile
elif [ "$CARCH" == "mips64el" ]; then
- sed -i 's|CFLAGS = -c -Wall -O2|CFLAGS = -c -Wall -O2 -march=loongson2f -DJOHN_SYSTEMWIDE=1|' Makefile
+ sed -i 's|CFLAGS = -c -Wall -O2|CFLAGS = -c -Wall -O2 -march=mips3 -mtune=loongson2f -DJOHN_SYSTEMWIDE=1|' Makefile
#sed -i 's|^LDFLAGS =\(.*\)|LDFLAGS =\1 -lm|' Makefile
else sed -i 's|CFLAGS = -c -Wall -O2|CFLAGS = -c -Wall -O2 -march=i686 -DJOHN_SYSTEMWIDE=1|' Makefile
fi