Skip to content

Commit

Permalink
kbuild: don't overwrite HOST_EXTRACFLAGS
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arnaud Lacombe authored and Michal Marek committed Aug 26, 2010
1 parent c24035b commit 9ba9568
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scripts/kconfig/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9ba9568

Please sign in to comment.