summaryrefslogtreecommitdiff
path: root/sim/rx/configure
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-13 01:52:01 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-15 23:27:14 -0400
commitbcaa61f7c89c2b44e231ee6999cc33b04e7dd202 (patch)
treecaaff31f701e7e9a14319251e1249af0ef49998d /sim/rx/configure
parentbc10b672715c935163aaca4d05cbbefeefc31b92 (diff)
downloadbinutils-gdb-bcaa61f7c89c2b44e231ee6999cc33b04e7dd202.tar.gz
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/rx/configure')
-rwxr-xr-xsim/rx/configure6
1 files changed, 1 insertions, 5 deletions
diff --git a/sim/rx/configure b/sim/rx/configure
index 151def506a7..e1befb3f814 100755
--- a/sim/rx/configure
+++ b/sim/rx/configure
@@ -11306,11 +11306,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"
-
-cat >>confdefs.h <<_ACEOF
-#define HAVE_DV_SOCKSER 1
-_ACEOF
-
+ sim_hw_cflags="$sim_hw_cflags -DHAVE_DV_SOCKSER"
;;
esac
if test x"$silent" != x"yes"; then