Don't let default compiler flags escape into the build.

* debian/changelog: Update.
* debian/bin/gencontrol.py: Rename CFLAGS to CFLAGS_KERNEL.
* debian/rules.real: Use CFLAGS_KERNEL.

svn path=/dists/trunk/linux-2.6/; revision=15119
This commit is contained in:
Bastian Blank 2010-02-04 11:09:53 +00:00
parent b03ba34bc9
commit 65ee02f46b
3 changed files with 9 additions and 3 deletions

View File

@ -94,7 +94,7 @@ class Gencontrol(Base):
):
makeflags[i[1]] = data[i[0]]
for i in (
('cflags', 'CFLAGS'),
('cflags', 'CFLAGS_KERNEL'),
('initramfs', 'INITRAMFS'),
('kpkg-arch', 'KPKG_ARCH'),
('kpkg-subarch', 'KPKG_SUBARCH'),

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
linux-2.6 (2.6.32-8) UNRELEASED; urgency=low
* Don't let default compiler flags escape into build.
-- Bastian Blank <waldi@debian.org> Thu, 04 Feb 2010 12:08:47 +0100
linux-2.6 (2.6.32-7) unstable; urgency=low
[ maximilian attems]

4
debian/rules.real vendored
View File

@ -111,8 +111,8 @@ else
echo 'override CROSS_COMPILE = $$(DEB_HOST_GNU_TYPE)-' >> '$(DIR)/.kernelvariables'
echo 'endif' >> '$(DIR)/.kernelvariables'
endif
ifdef CFLAGS
echo 'CFLAGS += $(CFLAGS)' >> '$(DIR)/.kernelvariables'
ifdef CFLAGS_KERNEL
echo 'CFLAGS += $(CFLAGS_KERNEL)' >> '$(DIR)/.kernelvariables'
endif
+$(MAKE_CLEAN) -C '$(SOURCE_DIR)' O='$(CURDIR)/$(DIR)' reportoldconfig
+$(MAKE_CLEAN) -C '$(SOURCE_DIR)' O='$(CURDIR)/$(DIR)' $(JOBS_ARG) prepare