summaryrefslogtreecommitdiff
path: root/tools/preproc/Makefile
diff options
context:
space:
mode:
authorgarakmon <thomastaps194@comcast.net>2018-06-16 18:49:27 -0400
committergarakmon <thomastaps194@comcast.net>2018-06-16 18:49:27 -0400
commit13ed20c6e3cc2a5029d33df39cffbcc219fbacf1 (patch)
treee7397229faf97e5655d483cbb8739b6d14b538fa /tools/preproc/Makefile
parent46f9b83fe54b2c0b2a81c60de143ba0abcb75ec9 (diff)
compiler fixes
The compiler flag -s is not necessary and causes build failure on some systems (macOS, clang compilers) due to it being deprecated. Additionally, on those same systems, tools/aif2pcm/main.c failed to compile due to an overly cautious compiler not liking some struct declarations. These changes afaik do not affect other builds.
Diffstat (limited to 'tools/preproc/Makefile')
-rw-r--r--tools/preproc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/preproc/Makefile b/tools/preproc/Makefile
index ec4a5f365..3d3275819 100644
--- a/tools/preproc/Makefile
+++ b/tools/preproc/Makefile
@@ -1,6 +1,6 @@
CXX := g++
-CXXFLAGS := -std=c++11 -O2 -s -Wall -Wno-switch -Werror
+CXXFLAGS := -std=c++11 -O2 -Wall -Wno-switch -Werror
SRCS := asm_file.cpp c_file.cpp charmap.cpp preproc.cpp string_parser.cpp \
utf8.cpp