Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/dist/gcc make this work with mknative-gcc:



details:   https://anonhg.NetBSD.org/src/rev/970395c2fc36
branches:  trunk
changeset: 766474:970395c2fc36
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Jun 23 12:11:24 2011 +0000

description:
make this work with mknative-gcc:
- libgcc.mvars only depends upon config.status/Makefile, not any built thing
- copy the unwind.h creation rule into a separate target, just for mknative-gcc

diffstat:

 external/gpl3/gcc/dist/gcc/Makefile.in |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 2fe932a76953 -r 970395c2fc36 external/gpl3/gcc/dist/gcc/Makefile.in
--- a/external/gpl3/gcc/dist/gcc/Makefile.in    Thu Jun 23 12:09:30 2011 +0000
+++ b/external/gpl3/gcc/dist/gcc/Makefile.in    Thu Jun 23 12:11:24 2011 +0000
@@ -1823,8 +1823,7 @@
        $(MACHMODE_H) $(FPBIT) $(DPBIT) $(TPBIT) $(LIB2ADD) \
        $(LIB2ADD_ST) $(LIB2ADDEH) $(srcdir)/emutls.c gcov-iov.h $(SFP_MACHINE)
 
-libgcc.mvars: config.status Makefile $(LIB2ADD) $(LIB2ADD_ST) specs \
-               xgcc$(exeext)
+libgcc.mvars: config.status Makefile
        : > tmp-libgcc.mvars
        echo LIB1ASMFUNCS = '$(LIB1ASMFUNCS)' >> tmp-libgcc.mvars
        echo LIB1ASMSRC = '$(LIB1ASMSRC)' >> tmp-libgcc.mvars
@@ -3822,6 +3821,12 @@
 # s-* so that mostlyclean does not force the include directory to
 # be rebuilt.
 
+unwind.h: $(UNWIND_H)
+       -if [ -d include ] ; then true; else mkdir include; chmod a+rx include; fi
+       rm -f include/unwind.h
+       cp $(UNWIND_H) include/unwind.h
+       chmod a+r include/unwind.h
+
 # Build the include directories.
 stmp-int-hdrs: $(STMP_FIXINC) $(USER_H) $(UNWIND_H) fixinc_list
 # Copy in the headers provided with gcc.



Home | Main Index | Thread Index | Old Index