diff options
Diffstat (limited to '01-fix-ctrtool-cxxflags.patch')
-rw-r--r-- | 01-fix-ctrtool-cxxflags.patch | 5 |
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++ |