summarylogtreecommitdiffstats
path: root/01-fix-ctrtool-cxxflags.patch
blob: 06b664153899317cb19215e20ed8d3129faed9fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/ctrtool/Makefile b/ctrtool/Makefile
index 7a534c9..245eeb4 100644
--- a/ctrtool/Makefile
+++ b/ctrtool/Makefile
@@ -4,7 +4,7 @@ OBJS = $(foreach dir,$(SRC_DIR),$(subst .c,.o,$(wildcard $(dir)/*.c))) $(foreach
 
 # Compiler Settings
 OUTPUT = ctrtool
-CXXFLAGS = -I.
+CXXFLAGS = -O2 -Wall -I.
 CFLAGS = -O2 -Wall -Wno-unused-variable  -Wno-unused-result -I. -std=c99
 CC = gcc
 CXX = g++