diff options
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu/qemu-2.5.0-cflags.patch')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu/qemu-2.5.0-cflags.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu/qemu-2.5.0-cflags.patch b/meta/recipes-devtools/qemu/qemu/qemu-2.5.0-cflags.patch new file mode 100644 index 0000000000..173394fd02 --- /dev/null +++ b/meta/recipes-devtools/qemu/qemu/qemu-2.5.0-cflags.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | --- a/configure | ||
2 | +++ b/configure | ||
3 | @@ -4468,10 +4468,6 @@ fi | ||
4 | if test "$gcov" = "yes" ; then | ||
5 | CFLAGS="-fprofile-arcs -ftest-coverage -g $CFLAGS" | ||
6 | LDFLAGS="-fprofile-arcs -ftest-coverage $LDFLAGS" | ||
7 | -elif test "$fortify_source" = "yes" ; then | ||
8 | - CFLAGS="-O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 $CFLAGS" | ||
9 | -elif test "$debug" = "no"; then | ||
10 | - CFLAGS="-O2 $CFLAGS" | ||
11 | fi | ||
12 | |||
13 | ########################################## | ||