aboutsummaryrefslogtreecommitdiff
path: root/sim/configure.ac
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2023-12-04 23:43:51 -0500
committerMike Frysinger <vapier@gentoo.org>2023-12-04 23:45:27 -0500
commitab18008ed17e0b3ceb39c86562711b8834ed6178 (patch)
tree316c3005f9d29de898a88b44b28cbed9109ec27e /sim/configure.ac
parent9a9205a0c729f8eb2e9355af5e9ee52d55e967cf (diff)
downloadgdb-ab18008ed17e0b3ceb39c86562711b8834ed6178.zip
gdb-ab18008ed17e0b3ceb39c86562711b8834ed6178.tar.gz
gdb-ab18008ed17e0b3ceb39c86562711b8834ed6178.tar.bz2
sim: warnings: enable only for development builds
Reuse the bfd/development.sh script like most other project to determine whether the current source tree is a dev build (e.g. git) or a release build, and disable the warnings for releases.
Diffstat (limited to 'sim/configure.ac')
-rw-r--r--sim/configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/configure.ac b/sim/configure.ac
index ecda34a..84a7e0a 100644
--- a/sim/configure.ac
+++ b/sim/configure.ac
@@ -14,6 +14,9 @@ AC_DEFINE_UNQUOTED([REPORT_BUGS_TO], ["$REPORT_BUGS_TO"], [Bug reporting address
AC_CONFIG_HEADERS([config.h])
+dnl Set the 'development' global before loading the SIM macros.
+. $srcdir/../bfd/development.sh
+
SIM_AC_TOOLCHAIN
SIM_AC_PLATFORM