From: Felix Fietkau Date: Sun, 29 Oct 2017 16:15:49 +0000 (+0100) Subject: scripts/config: add -DKBUILD_NO_NLS to CXXFLAGS X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=349bb6e663c86bf2f46e60203ca2867c579e0a72;p=openwrt%2Fstaging%2Fansuel.git scripts/config: add -DKBUILD_NO_NLS to CXXFLAGS Preparation for adding C++ code which needs the same flag Signed-off-by: Felix Fietkau --- 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