From 349bb6e663c86bf2f46e60203ca2867c579e0a72 Mon Sep 17 00:00:00 2001 From: Felix Fietkau <nbd@nbd.name> Date: Sun, 29 Oct 2017 17:15:49 +0100 Subject: [PATCH] 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> --- scripts/config/Makefile | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2