]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - sim/Makefile.in
sim: ppc: rework defines.h to handle HAVE symbols defined to 0
authorMike Frysinger <vapier@gentoo.org>
Wed, 10 Jan 2024 01:55:43 +0000 (20:55 -0500)
committerMike Frysinger <vapier@gentoo.org>
Thu, 11 Jan 2024 00:53:10 +0000 (19:53 -0500)
commit0846ae35a1a2d9968105a0174d82539f1927ba28
treed26ac8d80b5dd650eb48775204de24eaa498223b
parent908ff469f594ea64a1a7e5ec7ad1b0cb9988c42e
sim: ppc: rework defines.h to handle HAVE symbols defined to 0

The HAVE_DECL_xxx defines are always defined to 0 or 1.  The current
defines.h logic assumes every HAVE_xxx symbol is only defined iff it's
defined to 1 which causes this to break.  Tweak the sed logic to only
match defines of 1.
sim/Makefile.in
sim/ppc/local.mk