summaryrefslogtreecommitdiff
path: root/user/libqrcodegen/cxxflags.patch
diff options
context:
space:
mode:
authorCyberLeo <cyberleo@cyberleo.net>2020-03-28 05:45:52 -0500
committerCyberLeo <cyberleo@cyberleo.net>2020-03-28 05:45:52 -0500
commit9297468fa579836e3a6a381b798feb6b78217c2d (patch)
tree53168212f427afbcf0693b534530a4af803152e9 /user/libqrcodegen/cxxflags.patch
parenta63cc05c53a6f4c22422dc8c69808b14d87a6f6e (diff)
parentda5a69b65a8791fffa6e93366ee585f87eff136d (diff)
downloadpackages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.gz
packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.bz2
packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.xz
packages-9297468fa579836e3a6a381b798feb6b78217c2d.zip
Merge branch 'master' into zfs
Diffstat (limited to 'user/libqrcodegen/cxxflags.patch')
-rw-r--r--user/libqrcodegen/cxxflags.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/user/libqrcodegen/cxxflags.patch b/user/libqrcodegen/cxxflags.patch
new file mode 100644
index 000000000..1007469dd
--- /dev/null
+++ b/user/libqrcodegen/cxxflags.patch
@@ -0,0 +1,13 @@
+--- QR-Code-generator-1.5.0/cpp/Makefile 2019-07-15 23:16:50.000000000 +0000
++++ QR-Code-generator-1.5.0/cpp/Makefile 2020-02-04 05:42:53.910203051 +0000
+@@ -30,10 +30,6 @@
+
+ # Mandatory compiler flags
+ CXXFLAGS += -std=c++11
+-# Diagnostics. Adding '-fsanitize=address' is helpful for most versions of Clang and newer versions of GCC.
+-CXXFLAGS += -Wall -fsanitize=undefined
+-# Optimization level
+-CXXFLAGS += -O1
+
+
+ # ---- Controlling make ----