diff options
author | Carsten Haitzler (Rasterman) | 2018-12-24 00:15:27 +0000 |
---|---|---|
committer | Carsten Haitzler (Rasterman) | 2018-12-24 00:15:27 +0000 |
commit | df98c05e51ad5334dfeb3dc301743de37240ce58 (patch) | |
tree | ca3a002561a1b36485a13a57ed7ea937624985f8 | |
parent | a1709548dacadc80f3086016656ef329f1fdd20f (diff) | |
download | aur-df98c05e51ad5334dfeb3dc301743de37240ce58.tar.gz |
fix cflags that break neon asm
alarm on v7 is doing this. work around it.
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -46,6 +46,10 @@ pkgver() { build() { cd $_pkgname + # fix -mfpu= flags that break a build e.g. for neon on armv7 due to + # basically makepkg.conf being "bad' with default CFLAGS having + # -mfpu=vfpv3-d16 + export CFLAGS=`echo -n $CFLAGS | sed 's/-mfpu=vfpv3-d16/-mfpu=neon-vfpv4/g'` export CFLAGS="$CFLAGS -fvisibility=hidden" export CXXFLAGS="$CXXFLAGS -fvisibility=hidden" |