Commit 6188a3af authored by Kan-Ru Chen's avatar Kan-Ru Chen

d/rules: Set CC_FOR_BUILD

Closes: #903319
parent a3cfa27b
......@@ -12,6 +12,10 @@ export DH_OPTIONS
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
include /usr/share/dpkg/buildflags.mk
include /usr/share/dpkg/architecture.mk
# Set CC for crossbuild
export CC_FOR_BUILD ?= cc
# The build system doesn't use CPPFLAGS, pass them to CFLAGS to enable the
# missing (hardening) flags.
CFLAGS += $(CPPFLAGS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment