+mathgl (2.4.2.1-3) unstable; urgency=medium
+
+ * use -g1 for mips, mipsel to avoid OOM. Closes: #915506
+
+ -- Alastair McKinstry <mckinstry@debian.org> Tue, 04 Dec 2018 14:44:18 +0000
+
mathgl (2.4.2.1-2) unstable; urgency=medium
* Add qtwebengine5-dev to Build-Depends due to the output of cmake
export DH_VERBOSE=1
export DH_OPTIONS=-v
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
+# On low-memory archs, use -g1 to avoid OOM
+LOWMEM_ARCH:= mips mipsel
+ifneq ($(filter $(LOMEM_ARCH), $(DEB_HOST_ARCH)),)
+CXXFLAGS:= $(shell dpkg-buildflags --get CXXFLAGS | sed 's/-g/-g1/')
+export CXXFLAGS
+endif
+
%:
dh $@ --buildsystem=cmake --with python2,python3
override_dh_python2:
dh_numpy
-
+
override_dh_python3:
dh_numpy3