From b43364222e0a1177910b2a09a07884a573dd993f Mon Sep 17 00:00:00 2001 From: Bastian Blank Date: Fri, 3 Aug 2007 21:38:43 +0000 Subject: [PATCH] debian/rules.real: Don't add CFLAGS it unset. svn path=/dists/trunk/linux-2.6/; revision=9252 --- debian/rules.real | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/rules.real b/debian/rules.real index ac4d14927..b7b12c73d 100644 --- a/debian/rules.real +++ b/debian/rules.real @@ -120,7 +120,9 @@ else echo 'override CROSS_COMPILE = $$(DEB_HOST_GNU_TYPE)-' >> '$(DIR)/.kernelvariables' echo 'endif' >> '$(DIR)/.kernelvariables' endif +ifdef CFLAGS echo 'CFLAGS += $(CFLAGS)' >> '$(DIR)/.kernelvariables' +endif cd '$(DIR)'; $(setup_env) make reportoldconfig $(STAMPS_DIR)/setup_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_$(TYPE): DIR=$(BUILD_DIR)/build_$(ARCH)_$(FEATURESET)_$(FLAVOUR)