summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu/qemu/qemu-2.5.0-cflags.patch
blob: 173394fd02f2d5a8b52ac9a2c501dc4733dfc7dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/configure
+++ b/configure
@@ -4468,10 +4468,6 @@ fi
 if test "$gcov" = "yes" ; then
   CFLAGS="-fprofile-arcs -ftest-coverage -g $CFLAGS"
   LDFLAGS="-fprofile-arcs -ftest-coverage $LDFLAGS"
-elif test "$fortify_source" = "yes" ; then
-  CFLAGS="-O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 $CFLAGS"
-elif test "$debug" = "no"; then
-  CFLAGS="-O2 $CFLAGS"
 fi
 
 ##########################################