blob: 02ebbee1a06cae971c5db1c6894bdd49ecb7b69b [file] [log] [blame]
Andrew Geisslerd25ed322020-06-27 00:28:28 -05001From 230fe5804099bdca0c9e4cae7280c9fc513cb7f5 Mon Sep 17 00:00:00 2001
Brad Bishopc342db32019-05-15 21:57:59 -04002From: 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
Andrew Geisslerd25ed322020-06-27 00:28:28 -05008[update patch context]
9Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Brad Bishopc342db32019-05-15 21:57:59 -040010---
11 configure | 4 ----
12 1 file changed, 4 deletions(-)
13
Andrew Geissler635e0e42020-08-21 15:58:33 -050014Index: qemu-5.1.0/configure
15===================================================================
16--- qemu-5.1.0.orig/configure
17+++ qemu-5.1.0/configure
18@@ -6515,10 +6515,6 @@ write_c_skeleton
Brad Bishopc342db32019-05-15 21:57:59 -040019 if test "$gcov" = "yes" ; then
Andrew Geisslerd25ed322020-06-27 00:28:28 -050020 QEMU_CFLAGS="-fprofile-arcs -ftest-coverage -g $QEMU_CFLAGS"
21 QEMU_LDFLAGS="-fprofile-arcs -ftest-coverage $QEMU_LDFLAGS"
Brad Bishopc342db32019-05-15 21:57:59 -040022-elif test "$fortify_source" = "yes" ; then
23- CFLAGS="-O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 $CFLAGS"
24-elif test "$debug" = "no"; then
25- CFLAGS="-O2 $CFLAGS"
26 fi
27
28 if test "$have_asan" = "yes"; then