diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2020-07-08 23:25:18 -0700 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2020-07-08 23:25:18 -0700 |
commit | 2f175b2a54425272d94d35b953a19289fcc641c2 (patch) | |
tree | 2efea11b7955717547e58af14410402eef2fd896 | |
parent | Rebuild for boost 1.72 (diff) | |
download | mupen64plus-2f175b2a54425272d94d35b953a19289fcc641c2.tar.xz |
Add -fcommon as workaround for gcc10
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -31,8 +31,9 @@ build() { cd mupen64plus-bundle-src-${pkgver} # -fPIE breaks libmupen64plus.so.2 - export CFLAGS="$CFLAGS -O3 -flto=4 -fPIC" - export CXXFLAGS="$CXXFLAGS -O3 -flto=4 -fPIC" +# -fcommon as gcc10 workaround + export CFLAGS="$CFLAGS -O3 -flto=4 -fPIC -fcommon" + export CXXFLAGS="$CXXFLAGS -O3 -flto=4 -fPIC -fcommon" if [[ $CARCH = 'i686' ]]; then export CFLAGS="${CFLAGS/-fno-plt/}" |