aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Kaufmann <[email protected]>2012-10-13 10:25:17 +0200
committerPhilip Kaufmann <[email protected]>2012-10-13 10:25:17 +0200
commit493940038f44412ece135e1a625499ea89a93e56 (patch)
treed3c65717b2883414a398043dc6d1677830d7244a
parentBitcoin-Qt: add new GCC compiler hardening options (diff)
downloaddiscoin-493940038f44412ece135e1a625499ea89a93e56.tar.xz
discoin-493940038f44412ece135e1a625499ea89a93e56.zip
Bitcoin-Qt: remove unneeded "--param ssp-buffer-size=1" flag
- that flag is not needed when using "-fstack-protector-all", so remove it (see: http://stackoverflow.com/questions/1629685/when-and-how-to-use-gccs-stack-protection-feature)
-rw-r--r--bitcoin-qt.pro4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitcoin-qt.pro b/bitcoin-qt.pro
index e71bb5fa8..8a5db2254 100644
--- a/bitcoin-qt.pro
+++ b/bitcoin-qt.pro
@@ -33,8 +33,8 @@ contains(RELEASE, 1) {
!win32 {
# for extra security against potential buffer overflows: enable GCCs Stack Smashing Protection
-QMAKE_CXXFLAGS *= -fstack-protector-all --param ssp-buffer-size=1
-QMAKE_LFLAGS *= -fstack-protector-all --param ssp-buffer-size=1
+QMAKE_CXXFLAGS *= -fstack-protector-all
+QMAKE_LFLAGS *= -fstack-protector-all
# We need to exclude this for Windows cross compile with MinGW 4.2.x, as it will result in a non-working executable!
# This can be enabled for Windows, when we switch to MinGW >= 4.4.x.
}