diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-06-13 01:52:01 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-06-15 23:27:14 -0400 |
commit | bcaa61f7c89c2b44e231ee6999cc33b04e7dd202 (patch) | |
tree | caaff31f701e7e9a14319251e1249af0ef49998d /sim/m4 | |
parent | bc10b672715c935163aaca4d05cbbefeefc31b92 (diff) | |
download | gdb-bcaa61f7c89c2b44e231ee6999cc33b04e7dd202.zip gdb-bcaa61f7c89c2b44e231ee6999cc33b04e7dd202.tar.gz gdb-bcaa61f7c89c2b44e231ee6999cc33b04e7dd202.tar.bz2 |
sim: move dv-sockser define to CPPFLAGS
This is the only define left in m4/ that is not in the common config.h,
so move it to sim_hw_cflags so we can drop the arch-specific config.h.
Diffstat (limited to 'sim/m4')
-rw-r--r-- | sim/m4/sim_ac_option_hardware.m4 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sim/m4/sim_ac_option_hardware.m4 b/sim/m4/sim_ac_option_hardware.m4 index 75e331e..22fa993 100644 --- a/sim/m4/sim_ac_option_hardware.m4 +++ b/sim/m4/sim_ac_option_hardware.m4 @@ -55,8 +55,7 @@ else # that you instatiate. Instead, other code will call into it directly. # At some point, we should convert it over. sim_hw_objs="$sim_hw_objs dv-sockser.o" - AC_DEFINE_UNQUOTED( - [HAVE_DV_SOCKSER], 1, [Define if dv-sockser is usable.]) + sim_hw_cflags="$sim_hw_cflags -DHAVE_DV_SOCKSER" ;; esac if test x"$silent" != x"yes"; then |