summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2018-01-16 21:44:45 +0100
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-01-21 19:30:09 +0100
commitd0fd0428ecf04b6e0975f91a1a344cc31ce40b8f (patch)
treec59605206536702a625913d4fb0b9439861e2590 /scripts
parentkconfig: Clarify menu and 'if' dependency propagation (diff)
downloadlinux-d0fd0428ecf04b6e0975f91a1a344cc31ce40b8f.tar.xz
linux-d0fd0428ecf04b6e0975f91a1a344cc31ce40b8f.zip
kconfig: fix make xconfig when gettext is missing
The C-based config programs are properly guarded from a missing (or, currently, external) libintl.h by the HOST_EXTRACFLAGS check, but this does not help the C++-based qconf. Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/kconfig/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index 2ad1cf57a55f..df6469fd3dcc 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -206,6 +206,7 @@ always := dochecklxdialog
# Add environment specific flags
HOST_EXTRACFLAGS += $(shell $(CONFIG_SHELL) $(srctree)/$(src)/check.sh $(HOSTCC) $(HOSTCFLAGS))
+HOST_EXTRACXXFLAGS += $(shell $(CONFIG_SHELL) $(srctree)/$(src)/check.sh $(HOSTCXX) $(HOSTCXXFLAGS))
# generated files seem to need this to find local include files
HOSTCFLAGS_zconf.lex.o := -I$(src)