summarylogtreecommitdiffstats
path: root/01-fix-ctrtool-cxxflags.patch
diff options
context:
space:
mode:
authorangelsl2017-11-16 18:14:32 +0800
committerangelsl2017-11-16 18:14:32 +0800
commit677a833bd064badf9c4533dae0ace9e87c9abcd6 (patch)
tree7cae96be542b3ff30b28b9ec3285a701f095d5d7 /01-fix-ctrtool-cxxflags.patch
parent145675499c0ddade7574da40fb8354df2d782a8c (diff)
downloadaur-677a833bd064badf9c4533dae0ace9e87c9abcd6.tar.gz
Update to latest git commit
Diffstat (limited to '01-fix-ctrtool-cxxflags.patch')
-rw-r--r--01-fix-ctrtool-cxxflags.patch5
1 files changed, 3 insertions, 2 deletions
diff --git a/01-fix-ctrtool-cxxflags.patch b/01-fix-ctrtool-cxxflags.patch
index 06b664153899..fe4c75d051e6 100644
--- a/01-fix-ctrtool-cxxflags.patch
+++ b/01-fix-ctrtool-cxxflags.patch
@@ -7,7 +7,8 @@ index 7a534c9..245eeb4 100644
# Compiler Settings
OUTPUT = ctrtool
-CXXFLAGS = -I.
-+CXXFLAGS = -O2 -Wall -I.
- CFLAGS = -O2 -Wall -Wno-unused-variable -Wno-unused-result -I. -std=c99
+-CFLAGS = -O2 -Wall -Wno-unused-variable -Wno-unused-result -I. -std=c11
++CXXFLAGS = -O2 -Wall -I. -fPIC
++CFLAGS = -O2 -Wall -Wno-unused-variable -Wno-unused-result -I. -std=c11 -fPIC
CC = gcc
CXX = g++