Force g++ 4.7, not just gcc

(cherry picked from commit a36335c98314f2698f1f1e68aaf7ce63000bcc0b)
(cherry picked from commit 58254ab09d02df73b1259bf1e8d5aabc1e9da058)


Former-commit-id: ae4fe9520d2f91852499090ac03e9b8ee42f5112
This commit is contained in:
Jo Shields 2017-05-19 18:51:56 +01:00
parent 759af23c48
commit 2c3870db90
2 changed files with 5 additions and 1 deletions

View File

@ -1 +1 @@
05c96f7c0df13a112fc7e24ff2c75627277f5466
216fe98a843205c1b16d982545f600d5e76d8424

4
debian/rules vendored
View File

@ -76,6 +76,10 @@ ifeq ($(DEB_HOST_ARCH), ppc64el)
CONF_FLAGS += --with-csc=mcs
endif
ifneq (,$(wildcard /usr/bin/gcc-4.7))
GCC := CC=/usr/bin/gcc-4.7 CXX=/usr/bin/g++-4.7
endif
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk