summaryrefslogtreecommitdiff
path: root/Makefile.lang.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.lang.in')
-rw-r--r--Makefile.lang.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.lang.in b/Makefile.lang.in
index 828fb60c4..3d32c2628 100644
--- a/Makefile.lang.in
+++ b/Makefile.lang.in
@@ -14,6 +14,7 @@ LANGS_SRC = $(shell ls $(LANG_DIR)/*.txt)
LANGS = $(LANGS_SRC:$(LANG_DIR)/%.txt=%.lng)
CXX_BUILD = !!CXX_BUILD!!
CFLAGS_BUILD = !!CFLAGS_BUILD!!
+LDFLAGS_BUILD= !!LDFLAGS_BUILD!!
STRGEN_FLAGS = !!STRGEN_FLAGS!!
STAGE = !!STAGE!!
LANG_SUPPRESS= !!LANG_SUPPRESS!!
@@ -59,7 +60,7 @@ lang/english.txt: $(LANG_DIR)/english.txt
$(STRGEN): alloc_func.o string.o strgen.o
$(E) '$(STAGE) Compiling and Linking $@'
- $(Q)$(CXX_BUILD) $^ -o $@
+ $(Q)$(CXX_BUILD) $(LDFLAGS_BUILD) $^ -o $@
table/strings.h: lang/english.txt $(STRGEN)
$(E) '$(STAGE) Generating $@'