]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/erc32/configure
sim: move dv-sockser define to CPPFLAGS
[thirdparty/binutils-gdb.git] / sim / erc32 / configure
index fe945ef5efe1c479dd7b0338c8c2ce92a6f337f9..0e6957edc889c10331a91cc08e38919378b89e38 100755 (executable)
@@ -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