diff options
author | Tony Theodore <tonyt@logyst.com> | 2021-01-14 04:58:08 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2021-01-14 04:58:08 (GMT) |
commit | 61d5adfc27e68136341d29fb77e6a018ec07c031 (patch) | |
tree | 270da311d5fe441526744447670f9c771e0d56f2 | |
parent | 3a02766e8a1a40c27317b4b8d55663579fd0de5d (diff) | |
download | mxe-61d5adfc27e68136341d29fb77e6a018ec07c031.zip mxe-61d5adfc27e68136341d29fb77e6a018ec07c031.tar.gz mxe-61d5adfc27e68136341d29fb77e6a018ec07c031.tar.bz2 |
libsoup: gcc10 fix for -fcommon
-rw-r--r-- | src/libsoup.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libsoup.mk b/src/libsoup.mk index 8687538..57a5865 100644 --- a/src/libsoup.mk +++ b/src/libsoup.mk @@ -11,6 +11,8 @@ $(PKG)_GH_CONF := GNOME/libsoup/tags,,,pre\|SOUP\|base $(PKG)_DEPS := cc glib libxml2 sqlite define $(PKG)_BUILD + # -fcommon for gcc10, remove at next update + # https://gcc.gnu.org/gcc-10/porting_to.html cd '$(SOURCE_DIR)' && \ NOCONFIGURE=1 \ ACLOCAL_FLAGS=-I'$(PREFIX)/$(TARGET)/share/aclocal' \ @@ -20,6 +22,7 @@ define $(PKG)_BUILD --disable-vala \ --without-apache-httpd \ --without-gssapi \ + CFLAGS='-fcommon' \ $(shell [ `uname -s` == Darwin ] && echo "INTLTOOL_PERL=/usr/bin/perl") $(MAKE) -C '$(BUILD_DIR)' -j $(JOBS) $(MAKE) -C '$(BUILD_DIR)' -j 1 install |