aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/config/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-10-29 17:15:49 +0100
committerFelix Fietkau <nbd@nbd.name>2017-11-02 15:58:45 +0100
commit349bb6e663c86bf2f46e60203ca2867c579e0a72 (patch)
treeeba5a4013575ebcb87980ae6941a19fa78155b27 /scripts/config/Makefile
parent96eb96c3f064b07a926a3ac141ea5d1243f1d508 (diff)
downloadupstream-349bb6e663c86bf2f46e60203ca2867c579e0a72.tar.gz
upstream-349bb6e663c86bf2f46e60203ca2867c579e0a72.tar.bz2
upstream-349bb6e663c86bf2f46e60203ca2867c579e0a72.zip
scripts/config: add -DKBUILD_NO_NLS to CXXFLAGS
Preparation for adding C++ code which needs the same flag Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'scripts/config/Makefile')
-rw-r--r--scripts/config/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/config/Makefile b/scripts/config/Makefile
index 3de98082b5..60e1bbdcb4 100644
--- a/scripts/config/Makefile
+++ b/scripts/config/Makefile
@@ -16,6 +16,7 @@
check_lxdialog = $(shell $(SHELL) $(CURDIR)/lxdialog/check-lxdialog.sh -$(1))
export CFLAGS += -DKBUILD_NO_NLS -I. $(call check_lxdialog,ccflags)
+export CXXFLAGS += -DKBUILD_NO_NLS
conf-objs := conf.o zconf.tab.o
mconf-objs := mconf.o zconf.tab.o