blob: 12456bb5c1551d572ea0655c1a91e1b83d72bc97 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From 2d29d52b6f755758cfca6af0bcfd78091e16a7bc Mon Sep 17 00:00:00 2001
Brad Bishopd5ae7d92018-06-14 09:52:03 -07002From: Stephen Arnold <sarnold@vctlabs.com>
3Date: Sun, 12 Jun 2016 18:09:56 -0700
4Subject: [PATCH] qemu-native: set ld.bfd, fix cflags, and set some environment
5
6Upstream-Status: Pending
7---
8 configure | 4 ----
9 1 file changed, 4 deletions(-)
10
11diff --git a/configure b/configure
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080012index 69e05fb6c0..12fc3d8bdc 100755
Brad Bishopd5ae7d92018-06-14 09:52:03 -070013--- a/configure
14+++ b/configure
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080015@@ -5413,10 +5413,6 @@ write_c_skeleton
Brad Bishopd5ae7d92018-06-14 09:52:03 -070016 if test "$gcov" = "yes" ; then
17 CFLAGS="-fprofile-arcs -ftest-coverage -g $CFLAGS"
18 LDFLAGS="-fprofile-arcs -ftest-coverage $LDFLAGS"
19-elif test "$fortify_source" = "yes" ; then
20- CFLAGS="-O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 $CFLAGS"
21-elif test "$debug" = "no"; then
22- CFLAGS="-O2 $CFLAGS"
23 fi
24
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080025 if test "$have_asan" = "yes"; then