aboutsummaryrefslogtreecommitdiff
path: root/sim/erc32/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/erc32/configure
parentbc10b672715c935163aaca4d05cbbefeefc31b92 (diff)
downloadbinutils-bcaa61f7c89c2b44e231ee6999cc33b04e7dd202.zip
binutils-bcaa61f7c89c2b44e231ee6999cc33b04e7dd202.tar.gz
binutils-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/erc32/configure')
-rwxr-xr-xsim/erc32/configure6
1 files changed, 1 insertions, 5 deletions
diff --git a/sim/erc32/configure b/sim/erc32/configure
index fe945ef..0e6957e 100755
--- a/sim/erc32/configure
+++ b/sim/erc32/configure
@@ -11427,11 +11427,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