From 46048394acb7f6441a362c41cc16b7d7d31ba210 Mon Sep 17 00:00:00 2001 From: Cameron Date: Thu, 11 May 2017 21:51:54 -0500 Subject: add LDFLAGS variable to tools makefiles --- tools/preproc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/preproc/Makefile') diff --git a/tools/preproc/Makefile b/tools/preproc/Makefile index 2d577c79f..e5321afbd 100644 --- a/tools/preproc/Makefile +++ b/tools/preproc/Makefile @@ -11,7 +11,7 @@ HEADERS := asm_file.h c_file.h char_util.h charmap.h preproc.h string_parser.h \ .PHONY: clean preproc: $(SRCS) $(HEADERS) - $(CXX) $(CXXFLAGS) $(SRCS) -o $@ + $(CXX) $(CXXFLAGS) $(SRCS) -o $@ $(LDFLAGS) clean: $(RM) preproc preproc.exe -- cgit v1.2.3 From 543820c7264ad7f2cc206602e88f2172735bbcd3 Mon Sep 17 00:00:00 2001 From: camthesaxman Date: Thu, 11 May 2017 21:57:48 -0500 Subject: strip debugging symbols from tools --- tools/preproc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/preproc/Makefile') diff --git a/tools/preproc/Makefile b/tools/preproc/Makefile index e5321afbd..1f4c58e21 100644 --- a/tools/preproc/Makefile +++ b/tools/preproc/Makefile @@ -1,6 +1,6 @@ CXX := g++ -CXXFLAGS := -std=c++11 -O2 -Wall -Wno-switch +CXXFLAGS := -std=c++11 -O2 -s -Wall -Wno-switch SRCS := asm_file.cpp c_file.cpp charmap.cpp preproc.cpp string_parser.cpp \ utf8.cpp -- cgit v1.2.3