Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
build: move --disable-debug-info to meson
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  • Loading branch information
bonzini committed May 17, 2023
1 parent 4a45b35 commit e8e8688
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
5 changes: 0 additions & 5 deletions configure
Expand Up @@ -693,10 +693,6 @@ for opt do
;;
--cross-prefix-*)
;;
--enable-debug-info) meson_option_add -Ddebug=true
;;
--disable-debug-info) meson_option_add -Ddebug=false
;;
--enable-docs) docs=enabled
;;
--disable-docs) docs=disabled
Expand Down Expand Up @@ -972,7 +968,6 @@ cat << EOF
bsd-user all BSD usermode emulation targets
pie Position Independent Executables
debug-tcg TCG debugging (default is disabled)
debug-info debugging information
NOTE: The object files are built at the place where configure is launched
EOF
Expand Down
2 changes: 2 additions & 0 deletions scripts/meson-buildoptions.py
Expand Up @@ -36,6 +36,7 @@
"b_coverage": "gcov",
"b_lto": "lto",
"coroutine_backend": "with-coroutine",
"debug": "debug-info",
"malloc": "enable-malloc",
"pkgversion": "with-pkgversion",
"qemu_firmwarepath": "firmwarepath",
Expand All @@ -47,6 +48,7 @@
"b_coverage",
"b_lto",
"datadir",
"debug",
"includedir",
"libdir",
"libexecdir",
Expand Down
3 changes: 3 additions & 0 deletions scripts/meson-buildoptions.sh
Expand Up @@ -11,6 +11,7 @@ meson_options_help() {
printf "%s\n" ' affects only QEMU, not tools like qemu-img)'
printf "%s\n" ' --datadir=VALUE Data file directory [share]'
printf "%s\n" ' --disable-coroutine-pool coroutine freelist (better performance)'
printf "%s\n" ' --disable-debug-info Enable debug symbols and other information'
printf "%s\n" ' --disable-hexagon-idef-parser'
printf "%s\n" ' use idef-parser to automatically generate TCG'
printf "%s\n" ' code for the Hexagon frontend'
Expand Down Expand Up @@ -263,6 +264,8 @@ _meson_option_parse() {
--datadir=*) quote_sh "-Ddatadir=$2" ;;
--enable-dbus-display) printf "%s" -Ddbus_display=enabled ;;
--disable-dbus-display) printf "%s" -Ddbus_display=disabled ;;
--enable-debug-info) printf "%s" -Ddebug=true ;;
--disable-debug-info) printf "%s" -Ddebug=false ;;
--enable-debug-graph-lock) printf "%s" -Ddebug_graph_lock=true ;;
--disable-debug-graph-lock) printf "%s" -Ddebug_graph_lock=false ;;
--enable-debug-mutex) printf "%s" -Ddebug_mutex=true ;;
Expand Down

0 comments on commit e8e8688

Please sign in to comment.