Skip to content
Snippets Groups Projects
Commit 39ef996d authored by Sandro Tosi's avatar Sandro Tosi
Browse files

workaround a gcc-11 on mips64* architectures by passing -O3; patch by YunQiang Su; Closes: #1000435

parent c8eca713
No related branches found
No related tags found
No related merge requests found
matplotlib (3.5.1-2) UNRELEASED; urgency=medium
* debian/rules
- workaround a gcc-11 on mips64* architectures by passing -O3; patch by
YunQiang Su; Closes: #1000435
-- Sandro Tosi <morph@debian.org> Tue, 25 Jan 2022 16:54:16 -0500
matplotlib (3.5.1-1) unstable; urgency=medium
* New upstream release
......
......@@ -11,6 +11,14 @@ pdata := python-matplotlib-data
DEB_BUILD_OPTIONS += --no-parallel
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# https://bugs.debian.org/1000435
# it is due to a bug of gcc-11
ifneq (,$(filter $(DEB_HOST_ARCH), mips64 mips64el mips64r6 mips64r6el))
DEB_CFLAGS_MAINT_APPEND += -O3
DEB_CXXFLAGS_MAINT_APPEND += -O3
endif
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment