OSDN Git Service

H
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Oct 1998 21:15:42 +0000 (21:15 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Oct 1998 21:15:42 +0000 (21:15 +0000)
        * Makefile.in (stmp-fixinc): Do not install assert.h if not desired.
        * config/t-rtems: Do not install assert.h -- use newlib's.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23096 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/Makefile.in
gcc/config/t-rtems

index e1b1413..fdf3ab2 100644 (file)
@@ -2045,9 +2045,12 @@ stmp-fixinc: $(FIXINCLUDES) gsyslimits.h
              $(SHELL) $(srcdir)/$(FIXINCLUDES) include $$dir; \
            else true; fi; \
          done; \
-         rm -f include/assert.h; \
-         cp $(srcdir)/assert.h include/assert.h; \
-         chmod a+r include/assert.h; \
+         if [ x$(INSTALL_ASSERT_H) != x ] ; \
+         then \
+           rm -f include/assert.h; \
+           cp $(srcdir)/assert.h include/assert.h; \
+           chmod a+r include/assert.h; \
+         fi \
        else true; \
        fi
        rm -f include/syslimits.h
index 25dd398..aa0ca66 100644 (file)
@@ -1,2 +1,6 @@
 # RTEMS uses newlib which does not require prototype fixing
 STMP_FIXPROTO =
+
+# Don't install "assert.h" in gcc.  RTEMS uses the one in newlib.
+INSTALL_ASSERT_H =
+