aboutsummaryrefslogtreecommitdiff
path: root/sim/m4
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-11-05 10:23:28 +0700
committerMike Frysinger <vapier@gentoo.org>2022-11-05 10:23:28 +0700
commit682a2a82e404a7ec033546f639c89e709ce870e1 (patch)
treed30bf5307e6e5ad43b570031910f1237f67e9a62 /sim/m4
parent0fa7ad4eb4f76e24fabf6a15197f078a3ba60d80 (diff)
downloadgdb-682a2a82e404a7ec033546f639c89e709ce870e1.zip
gdb-682a2a82e404a7ec033546f639c89e709ce870e1.tar.gz
gdb-682a2a82e404a7ec033546f639c89e709ce870e1.tar.bz2
sim: adjust sim_hw options style
We use uppercase for other variables, and are already turning it to uppercase in the arch-subdir.mk, so convert it in the configure step.
Diffstat (limited to 'sim/m4')
-rw-r--r--sim/m4/sim_ac_option_hardware.m46
1 files changed, 4 insertions, 2 deletions
diff --git a/sim/m4/sim_ac_option_hardware.m4 b/sim/m4/sim_ac_option_hardware.m4
index d1acc6a..5216d6b 100644
--- a/sim/m4/sim_ac_option_hardware.m4
+++ b/sim/m4/sim_ac_option_hardware.m4
@@ -36,6 +36,8 @@ else
fi
AM_CONDITIONAL([SIM_ENABLE_HW], [test "$enable_sim_hardware" = "yes"])
AC_MSG_RESULT(${enable_sim_hardware})
-AC_SUBST(sim_hw_cflags)
-AC_SUBST(sim_hw_sockser)
+SIM_HW_CFLAGS=$sim_hw_cflags
+AC_SUBST(SIM_HW_CFLAGS)
+SIM_HW_SOCKSER=$sim_hw_sockser
+AC_SUBST(SIM_HW_SOCKSER)
])