From aefc3801c2d04eca7fd477242463a1bc82cfe7ad Mon Sep 17 00:00:00 2001
From: Jason Merrill <merrill@gnu.org>
Date: Wed, 18 May 1994 23:08:30 +0000
Subject: [PATCH] (FIXPROTO_DEFINES): New variable: extra #defines for fixproto
 to use.

(FIXPROTO_DEFINES): New variable: extra #defines for
        fixproto to use.
        (stmp-fixproto): Pass it.

From-SVN: r7333
---
 gcc/Makefile.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 3e0ce217677f..ae9c6e40837d 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -327,6 +327,9 @@ INSTALL_TARGET=install-normal
 # Source for float.h.  Overridden by cross-make.
 FLOAT_H=float.h-nat
 
+# Extra symbols for fixproto to define when parsing headers.
+FIXPROTO_DEFINES = 
+
 # End of variables for you to override.
 
 # Definition of `all' is here so that new rules inserted by sed
@@ -1620,6 +1623,7 @@ stmp-fixproto: fixhdr.ready fixproto stmp-headers
 	else \
 	  : This line works around a 'make' bug in BSDI 1.1.; \
 	  CPP="$(GCC_FOR_TARGET) -E"; export CPP; \
+	    FIXPROTO_DEFINES="$(FIXPROTO_DEFINES)"; export FIXPROTO_DEFINES; \
 	    $(SHELL) ${srcdir}/fixproto include include $(SYSTEM_HEADER_DIR); \
 	  touch include/fixed; \
 	fi
-- 
GitLab