This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: eliminate references to LIBGCC1_TEST


> It's too bad we don't have any way to poison obsolete Makefile
> constructs.

We could easily add one for nonblank macros:

all : poisoned_macros ...

poisoned_macros :
	@test "x${FOO}" == x || (echo FOO is poisoned; false)
	@test "x${BAR}" == x || (echo BAR is poisoned; false)

We could probably use grep to check for blank ones.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]