summaryrefslogtreecommitdiff
path: root/core/xfsprogs/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 /core/xfsprogs/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 'core/xfsprogs/PKGBUILD')
-rw-r--r--core/xfsprogs/PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/xfsprogs/PKGBUILD b/core/xfsprogs/PKGBUILD
index 80edf9eee..c56832ad2 100644
--- a/core/xfsprogs/PKGBUILD
+++ b/core/xfsprogs/PKGBUILD
@@ -17,7 +17,7 @@ md5sums=('d6159f7a664d95b4c150d580399d4400')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
export OPTIMIZER="-march=${CARCH/_/-} -O1"
- [ "$CARCH" = "mips64el" ] && export OPTIMIZER="-mabi=n32 -march=loongson2f -O1"
+ [ "$CARCH" = "mips64el" ] && export OPTIMIZER="-mabi=n32 -march=mips3 -mtune=loongson2f -O1"
export DEBUG=-DNDEBUG
./configure --prefix=/usr
make