|
|
|
@ -470,7 +470,6 @@ tcg_interpreter="no" |
|
|
|
bigendian="no" |
|
|
|
mingw32="no" |
|
|
|
gcov="no" |
|
|
|
gcov_tool="gcov" |
|
|
|
EXESUF="" |
|
|
|
DSOSUF=".so" |
|
|
|
LDFLAGS_SHARED="-shared" |
|
|
|
@ -1058,8 +1057,6 @@ for opt do |
|
|
|
;; |
|
|
|
--meson=*) meson="$optarg" |
|
|
|
;; |
|
|
|
--gcov=*) gcov_tool="$optarg" |
|
|
|
;; |
|
|
|
--smbd=*) smbd="$optarg" |
|
|
|
;; |
|
|
|
--extra-cflags=*) |
|
|
|
@ -1866,7 +1863,6 @@ Advanced options (experts only): |
|
|
|
--with-coroutine=BACKEND coroutine backend. Supported options: |
|
|
|
ucontext, sigaltstack, windows |
|
|
|
--enable-gcov enable test coverage analysis with gcov |
|
|
|
--gcov=GCOV use specified gcov [$gcov_tool] |
|
|
|
--disable-blobs disable installing provided firmware blobs |
|
|
|
--with-vss-sdk=SDK-path enable Windows VSS support in QEMU Guest Agent |
|
|
|
--with-win-sdk=SDK-path path to Windows Platform SDK (to build VSS .tlb) |
|
|
|
@ -6600,8 +6596,7 @@ fi |
|
|
|
write_c_skeleton |
|
|
|
|
|
|
|
if test "$gcov" = "yes" ; then |
|
|
|
QEMU_CFLAGS="-fprofile-arcs -ftest-coverage -g $QEMU_CFLAGS" |
|
|
|
QEMU_LDFLAGS="-fprofile-arcs -ftest-coverage $QEMU_LDFLAGS" |
|
|
|
: |
|
|
|
elif test "$fortify_source" = "yes" ; then |
|
|
|
QEMU_CFLAGS="-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 $QEMU_CFLAGS" |
|
|
|
debug=no |
|
|
|
@ -7886,7 +7881,6 @@ echo "TASN1_CFLAGS=$tasn1_cflags" >> $config_host_mak |
|
|
|
echo "POD2MAN=$POD2MAN" >> $config_host_mak |
|
|
|
if test "$gcov" = "yes" ; then |
|
|
|
echo "CONFIG_GCOV=y" >> $config_host_mak |
|
|
|
echo "GCOV=$gcov_tool" >> $config_host_mak |
|
|
|
fi |
|
|
|
|
|
|
|
if test "$libudev" != "no"; then |
|
|
|
@ -8519,6 +8513,7 @@ NINJA=$PWD/ninjatool $meson setup \ |
|
|
|
-Dwerror=$(if test "$werror" = yes; then echo true; else echo false; fi) \ |
|
|
|
-Dstrip=$(if test "$strip_opt" = yes; then echo true; else echo false; fi) \ |
|
|
|
-Db_pie=$(if test "$pie" = yes; then echo true; else echo false; fi) \ |
|
|
|
-Db_coverage=$(if test "$gcov" = yes; then echo true; else echo false; fi) \ |
|
|
|
$cross_arg \ |
|
|
|
"$PWD" "$source_path" |
|
|
|
|
|
|
|
|