summaryrefslogtreecommitdiffstats
path: root/patches/openssl-1.0.2g/0100-Configure-don-t-ask-dpkg-buildflags-for-more-flags.patch
blob: bb3e51e587de7576155e80337b220b956794a6b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Michael Olbrich <m.olbrich@pengutronix.de>
Date: Mon, 11 Aug 2014 12:28:49 +0200
Subject: [PATCH] Configure: don't ask dpkg-buildflags for more flags

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
---
 Configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Configure b/Configure
index 646194960bf0..e4ae865dbdec 100755
--- a/Configure
+++ b/Configure
@@ -125,7 +125,7 @@ my $clang_disabled_warnings = "-Wno-unused-parameter -Wno-missing-field-initiali
 my $clang_devteam_warn = "-Wno-unused-parameter -Wno-missing-field-initializers -Wno-language-extension-token -Wno-extended-offsetof -Qunused-arguments";
 
 # There are no separate CFLAGS/CPPFLAGS/LDFLAGS, set everything in CFLAGS
-my $debian_cflags = `dpkg-buildflags --get CFLAGS` . `dpkg-buildflags --get CPPFLAGS` . `dpkg-buildflags --get LDFLAGS` . "-Wa,--noexecstack -Wall";
+my $debian_cflags = "-g -O2 -Wformat -Werror=format-security " . "-Wa,--noexecstack -Wall";
 $debian_cflags =~ s/\n/ /g;
 
 my $strict_warnings = 0;