| 1 |
Authorscip-debian debian i7z 0.27.2+git2013.10.12-g5023138-8 i7z/patches/`qmake-hardening.patch`#Author.: Andreas Beckmann <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 2 |
Descriptionscip-debian debian i7z 0.27.2+git2013.10.12-g5023138-8 i7z/patches/`qmake-hardening.patch`#Description.: enable hardening flags while building the GUI |
| 3 |
drop -v flag since it confuses blhc |
| 4 |
|
| 5 |
--- a/GUI/i7z_GUI.proscip-debian debian i7z 0.27.2+git2013.10.12-g5023138-8 i7z/upstream/`GUI/i7z_GUI.pro`: |
| 6 |
+++ b/GUI/i7z_GUI.proscip-debian debian i7z 0.27.2+git2013.10.12-g5023138-8 i7z/upstream/`GUI/i7z_GUI.pro`: |
| 7 |
@@ -2,6 +2,10 @@ |
| 8 |
# Automatically generated by qmake (2.01a) Tue Jan 26 22:31:53 2010 |
| 9 |
###################################################################### |
| 10 |
|
| 11 |
+QMAKE_CFLAGS *= $(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get CPPFLAGS) |
| 12 |
+QMAKE_CXXFLAGS *= $(shell dpkg-buildflags --get CXXFLAGS) $(shell dpkg-buildflags --get CPPFLAGS) |
| 13 |
+QMAKE_LFLAGS *= $(shell dpkg-buildflags --get LDFLAGS) |
| 14 |
+ |
| 15 |
TEMPLATE = app |
| 16 |
TARGET = |
| 17 |
DEPENDPATH += . |
| 18 |
@@ -9,7 +13,7 @@ INCLUDEPATH += . |
| 19 |
CONFIG += debug |
| 20 |
CFLAGS += #QMAKE_*FLAGS are where the gcc flags should be passed |
| 21 |
CXXFLAGS += |
| 22 |
|
| 23 |
|
| 24 |
+QMAKE_CFLAGS += -fno-schedule-insns2 -fno-schedule-insns -fno-inline-small-functions -fno-caller-saves |
| 25 |
+QMAKE_CXXFLAGS += -fno-schedule-insns2 -fno-schedule-insns -fno-inline-small-functions -fno-caller-saves |
| 26 |
# Input |
| 27 |
SOURCES += i7z_GUI.cpp |