Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

Commit

Permalink
Add debian/patches/add-hardening-flags-in-compiler-options.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
tehnick committed Jan 14, 2014
1 parent a675fb9 commit d781f87
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions debian/patches/add-hardening-flags-in-compiler-options.patch
@@ -0,0 +1,17 @@
Description: Add hardening flags in compiler options
Author: Boris Pek <tehnick-8@mail.ru>
Last-Update: 2014-01-15

--- a/qconf.pro
+++ b/qconf.pro
@@ -29,3 +29,10 @@
libfiles.files = $$IN_PWD/conf $$IN_PWD/modules
INSTALLS += libfiles
}
+
+unix:!mac {
+ QMAKE_CXXFLAGS += $(Q_CXXFLAGS)
+ QMAKE_CFLAGS_DEBUG += $(Q_CFLAGS)
+ QMAKE_CFLAGS_RELEASE += $(Q_CFLAGS)
+ QMAKE_LFLAGS += $(Q_LDFLAGS)
+}
1 change: 1 addition & 0 deletions debian/patches/series
@@ -0,0 +1 @@
add-hardening-flags-in-compiler-options.patch

0 comments on commit d781f87

Please sign in to comment.