From 0350c36c481e18a646cf2c5c5e83aa09a6a7c0ec Mon Sep 17 00:00:00 2001 From: "Dr. Tobias Quathamer" Date: Sat, 28 Apr 2018 15:14:12 +0200 Subject: [PATCH] Make choice of c compiler more flexible to help cross building. Thanks: Helmut Grohne Closes: #897048 --- debian/rules | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/rules b/debian/rules index a396d89..c6c31c7 100755 --- a/debian/rules +++ b/debian/rules @@ -3,6 +3,12 @@ # Use all hardening features export DEB_BUILD_MAINT_OPTIONS = hardening=+all +# Make choice of c compiler more flexible to help cross building. +# See bug #897048 +-include /usr/share/dpkg/buildtools.mk +export bsd_games_cfg_cc=$(CC) +export bsd_games_cfg_cxx=$(CXX) + %: dh $@