diff options
Diffstat (limited to 'patches/openssl-1.0.2h/0100-Configure-don-t-ask-dpkg-buildflags-for-more-flags.patch')
-rw-r--r-- | patches/openssl-1.0.2h/0100-Configure-don-t-ask-dpkg-buildflags-for-more-flags.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/patches/openssl-1.0.2h/0100-Configure-don-t-ask-dpkg-buildflags-for-more-flags.patch b/patches/openssl-1.0.2h/0100-Configure-don-t-ask-dpkg-buildflags-for-more-flags.patch new file mode 100644 index 000000000..348505b97 --- /dev/null +++ b/patches/openssl-1.0.2h/0100-Configure-don-t-ask-dpkg-buildflags-for-more-flags.patch @@ -0,0 +1,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 974407e2d9a5..020f215dd1e8 100755 +--- a/Configure ++++ b/Configure +@@ -132,7 +132,7 @@ my $clang_devteam_warn = "-Wno-unused-parameter -Wno-missing-field-initializers + my $warn_make_depend = 0; + + # 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; |