]> TLD Linux GIT Repositories - packages/qemu.git/blob - qemu-cflags.patch
- updated to 2.5.0
[packages/qemu.git] / qemu-cflags.patch
1 --- qemu-2.5.0/configure.orig   2015-12-16 22:04:48.000000000 +0000
2 +++ qemu-2.5.0/configure        2016-01-20 08:44:46.108727000 +0000
3 @@ -418,10 +418,6 @@
4  QEMU_CFLAGS="-Wstrict-prototypes -Wredundant-decls $QEMU_CFLAGS"
5  QEMU_CFLAGS="-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE $QEMU_CFLAGS"
6  QEMU_INCLUDES="-I. -I\$(SRC_PATH) -I\$(SRC_PATH)/include"
7 -if test "$debug_info" = "yes"; then
8 -    CFLAGS="-g $CFLAGS"
9 -    LDFLAGS="-g $LDFLAGS"
10 -fi
11  
12  # make source path absolute
13  source_path=`cd "$source_path"; pwd`
14 @@ -4498,12 +4494,8 @@
15  # After here, no more $cc or $ld runs
16  
17  if test "$gcov" = "yes" ; then
18 -  CFLAGS="-fprofile-arcs -ftest-coverage -g $CFLAGS"
19 +  CFLAGS="-fprofile-arcs -ftest-coverage $CFLAGS"
20    LDFLAGS="-fprofile-arcs -ftest-coverage $LDFLAGS"
21 -elif test "$fortify_source" = "yes" ; then
22 -  CFLAGS="-O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 $CFLAGS"
23 -elif test "$debug" = "no"; then
24 -  CFLAGS="-O2 $CFLAGS"
25  fi
26  
27  ##########################################