diff options
author | Tony Theodore <tonyt@logyst.com> | 2021-01-14 04:52:29 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2021-01-14 04:52:29 (GMT) |
commit | 3a02766e8a1a40c27317b4b8d55663579fd0de5d (patch) | |
tree | ebed8af99fc139ee24f0fbd13b0b32e648dbaa30 | |
parent | d2fb4b64a94d5efdab47818208f14cce637e4c57 (diff) | |
download | mxe-3a02766e8a1a40c27317b4b8d55663579fd0de5d.zip mxe-3a02766e8a1a40c27317b4b8d55663579fd0de5d.tar.gz mxe-3a02766e8a1a40c27317b4b8d55663579fd0de5d.tar.bz2 |
gdk-pixbuf: gcc10 fix for -fcommon
-rw-r--r-- | src/gdk-pixbuf.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gdk-pixbuf.mk b/src/gdk-pixbuf.mk index 3aae067..bb52779 100644 --- a/src/gdk-pixbuf.mk +++ b/src/gdk-pixbuf.mk @@ -19,6 +19,8 @@ define $(PKG)_UPDATE endef define $(PKG)_BUILD + # -fcommon for gcc10, remove at next update + # https://gcc.gnu.org/gcc-10/porting_to.html cd '$(1)' && autoreconf -fi -I'$(PREFIX)/$(TARGET)/share/aclocal' cd '$(1)' && ./configure \ $(MXE_CONFIGURE_OPTS) \ @@ -26,6 +28,7 @@ define $(PKG)_BUILD --disable-modules,) \ --with-included-loaders \ --without-gdiplus \ + CFLAGS='-fcommon' \ LIBS="`'$(TARGET)-pkg-config' --libs libtiff-4`" $(MAKE) -C '$(1)' -j '$(JOBS)' install endef |