summarylogtreecommitdiffstats
path: root/01-fix-ctrtool-cxxflags.patch
diff options
context:
space:
mode:
authorangelsl2016-04-03 13:05:41 +0800
committerangelsl2016-04-03 13:07:59 +0800
commit3e03f649eb84f80cc740341162b22ee9a55a1c7c (patch)
tree218d303f93a5fa903105722b9677b2119bf08b27 /01-fix-ctrtool-cxxflags.patch
downloadaur-3e03f649eb84f80cc740341162b22ee9a55a1c7c.tar.gz
Initial commit
Diffstat (limited to '01-fix-ctrtool-cxxflags.patch')
-rw-r--r--01-fix-ctrtool-cxxflags.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/01-fix-ctrtool-cxxflags.patch b/01-fix-ctrtool-cxxflags.patch
new file mode 100644
index 000000000000..78444fad054e
--- /dev/null
+++ b/01-fix-ctrtool-cxxflags.patch
@@ -0,0 +1,12 @@
+diff -aur pctr/ctrtool/Makefile pctr-p/ctrtool/Makefile
+--- pctr/ctrtool/Makefile 2016-04-03 13:00:08.768354449 +0800
++++ pctr-p/ctrtool/Makefile 2016-04-03 12:59:58.821687435 +0800
+@@ -4,7 +4,7 @@
+
+ # Compiler Settings
+ OUTPUT = ctrtool
+-CXXFLAGS = -I.
++CXXFLAGS = -O2 -flto -Wall -I.
+ CFLAGS = -O2 -flto -Wall -Wno-unused-variable -Wno-unused-result -I.
+ CC = gcc
+ CXX = g++