diff options
author | Max Rees <maxcrees@me.com> | 2020-02-04 05:57:00 +0000 |
---|---|---|
committer | Max Rees <maxcrees@me.com> | 2020-02-04 19:36:05 -0600 |
commit | 38c71c751856ba192ebbb44fb8c13a7a3aee4e69 (patch) | |
tree | b829c30cbbc27a337517894eb599b29f6c30e08d /user/libqrcodegen/cxxflags.patch | |
parent | 691f8accf980d6f545c93677719591d730df89ac (diff) | |
download | packages-38c71c751856ba192ebbb44fb8c13a7a3aee4e69.tar.gz packages-38c71c751856ba192ebbb44fb8c13a7a3aee4e69.tar.bz2 packages-38c71c751856ba192ebbb44fb8c13a7a3aee4e69.tar.xz packages-38c71c751856ba192ebbb44fb8c13a7a3aee4e69.zip |
user/libqrcodegen: new package
Diffstat (limited to 'user/libqrcodegen/cxxflags.patch')
-rw-r--r-- | user/libqrcodegen/cxxflags.patch | 13 |
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 ---- |