Author: waldi
Date: Fri Aug  3 21:38:43 2007
New Revision: 9252

Log:
debian/rules.real: Don't add CFLAGS it unset.


Modified:
   dists/trunk/linux-2.6/debian/rules.real

Modified: dists/trunk/linux-2.6/debian/rules.real
==============================================================================
--- dists/trunk/linux-2.6/debian/rules.real     (original)
+++ dists/trunk/linux-2.6/debian/rules.real     Fri Aug  3 21:38:43 2007
@@ -120,7 +120,9 @@
        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)

_______________________________________________
Kernel-svn-changes mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/kernel-svn-changes

Reply via email to