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>
This commit is contained in:
Felix Fietkau 2017-10-29 17:15:49 +01:00
parent 96eb96c3f0
commit 349bb6e663

View file

@ -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