kbuild: don't overwrite HOST_EXTRACFLAGS
authorArnaud Lacombe <lacombar@gmail.com>
Mon, 23 Aug 2010 00:03:06 +0000 (20:03 -0400)
committerMichal Marek <mmarek@suse.cz>
Thu, 26 Aug 2010 11:59:43 +0000 (13:59 +0200)
This might be used by the user to specify extra arguments for the host
compiler.

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/Makefile

index 7522a8b..06c1c2f 100644 (file)
@@ -145,10 +145,8 @@ check-lxdialog  := $(srctree)/$(src)/lxdialog/check-lxdialog.sh
 
 # Use recursively expanded variables so we do not call gcc unless
 # we really need to do so. (Do not call gcc as part of make mrproper)
-HOST_EXTRACFLAGS = $(shell $(CONFIG_SHELL) $(check-lxdialog) -ccflags)
-
-HOST_EXTRACFLAGS += -DLOCALE
-
+HOST_EXTRACFLAGS += $(shell $(CONFIG_SHELL) $(check-lxdialog) -ccflags) \
+                    -DLOCALE
 
 # ===========================================================================
 # Shared Makefile for the various kconfig executables: