From: IOhannes m zmölnig (Debian/GNU) Date: Wed, 22 Dec 2021 07:41:05 +0000 (+0100) Subject: Fix FTBFS on MIPS architectures X-Git-Tag: archive/raspbian/6.1.5_ds0-1+rpi1^2~33 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8787b2284d7cf393497562d27baf69d1a76c43c1;p=juce.git Fix FTBFS on MIPS architectures --- diff --git a/debian/rules b/debian/rules index a546e644..19608edd 100755 --- a/debian/rules +++ b/debian/rules @@ -6,6 +6,7 @@ export DH_VERBOSE = 1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_CPPFLAGS_MAINT_APPEND = +export DEB_CXXFLAGS_MAINT_APPEND = export DEB_LDFLAGS_MAINT_APPEND = DPKG_EXPORT_BUILDFLAGS = 1 @@ -35,6 +36,12 @@ ifeq ($(if $(noatomicarch),atomic), atomic) DEB_LDFLAGS_MAINT_APPEND += -latomic endif + +ifneq ($(strip $(filter $(arch), mipsel mips64el)),) + DEB_CXXFLAGS_MAINT_APPEND += -mxgot +endif + + # Debian's Projucer is GPL DEB_CPPFLAGS_MAINT_APPEND += -DJUCER_ENABLE_GPL_MODE=1