diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-11-25 05:26:18 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-11-25 05:26:18 -0300 |
commit | 0f4cc59bb6d6041a88701eac396602e88ac2b9ce (patch) | |
tree | cb9ae444cd4070b31991016133cad71cea1aa68e | |
parent | 29ce890d2d01c2a2b7df26a6e768b8e990c10855 (diff) |
main/unfs3: fix build by working around -fno-common
-rw-r--r-- | main/unfs3/APKBUILD | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/main/unfs3/APKBUILD b/main/unfs3/APKBUILD index a054a0f10e9..4c126baee5c 100644 --- a/main/unfs3/APKBUILD +++ b/main/unfs3/APKBUILD @@ -18,7 +18,9 @@ source="https://downloads.sourceforge.net/unfs3/unfs3-$pkgver.tar.gz " build() { - export CFLAGS="$CFLAGS $(pkgconf --cflags libtirpc)" + # -fcommon is required because of multiple definitions without extern + # from a type generated by yacc + export CFLAGS="$CFLAGS -fcommon $(pkgconf --cflags libtirpc)" export LDFLAGS="$LDFLAGS $(pkgconf --libs-only-L libtirpc)" export LIBS="$LIBS $(pkgconf --libs-only-l libtirpc)" |