summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Eriksson2020-05-11 20:59:53 +0200
committerSimon Eriksson2020-05-11 20:59:53 +0200
commitae050fbac2f2ca8ff867f7a216f012efe766759d (patch)
tree54f8b45e4c842aee794b7f8e4903797d43750f8c
parentcf76b99ae6b92a6ad2dd43847bd547d98556e031 (diff)
downloadaur-ae050fbac2f2ca8ff867f7a216f012efe766759d.tar.gz
Stupid newlib doesn't like -fno-common
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2033d7ac9d8..66f8e92a037 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,7 +19,7 @@ build()
rm -rf build
mkdir build && cd build
- export CFLAGS_FOR_TARGET='-G0 -O2 -ffunction-sections -fdata-sections -fomit-frame-pointer'
+ export CFLAGS_FOR_TARGET='-G0 -O2 -fcommon -ffunction-sections -fdata-sections -fomit-frame-pointer'
../newlib-${pkgver}/configure \
--prefix=/usr \