[source] scripts/config: add -DKBUILD_NO_NLS to CXXFLAGS

LEDE Commits lede-commits at lists.infradead.org
Thu Nov 2 07:59:39 PDT 2017


nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/349bb6e663c86bf2f46e60203ca2867c579e0a72

commit 349bb6e663c86bf2f46e60203ca2867c579e0a72
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Sun Oct 29 17:15:49 2017 +0100

    scripts/config: add -DKBUILD_NO_NLS to CXXFLAGS
    
    Preparation for adding C++ code which needs the same flag
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 scripts/config/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/config/Makefile b/scripts/config/Makefile
index 3de9808..60e1bbd 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



More information about the lede-commits mailing list