mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
This commit was manufactured by cvs2svn to create branch 'WIP_GCC31'.
This commit is contained in:
parent
5d8d0d50ca
commit
4e6aeb72b4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/cvs2svn/branches/WIP_GCC31/; revision=94006
1
gnu/usr.bin/cc/Makefile.fe
Normal file
1
gnu/usr.bin/cc/Makefile.fe
Normal file
@ -0,0 +1 @@
|
||||
# $FreeBSD$
|
1
gnu/usr.bin/cc/Makefile.tgt
Normal file
1
gnu/usr.bin/cc/Makefile.tgt
Normal file
@ -0,0 +1 @@
|
||||
# $FreeBSD$
|
30
gnu/usr.bin/cc/collect2/Makefile
Normal file
30
gnu/usr.bin/cc/collect2/Makefile
Normal file
@ -0,0 +1,30 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.include "../Makefile.inc"
|
||||
|
||||
.PATH: ${GCCDIR}
|
||||
|
||||
PROG= collect2
|
||||
SRCS= collect2.c cplus-dem.c tlink.c underscore.c
|
||||
BINDIR= /usr/libexec
|
||||
NOMAN=
|
||||
NOSHARED?=yes
|
||||
|
||||
DPADD+= ${LIBCC_INT}
|
||||
LDADD+= ${LIBCC_INT}
|
||||
|
||||
CLEANFILES= tmp-dum.c tmp-dum.s underscore.c
|
||||
underscore.c: Makefile
|
||||
echo "int xxy_us_dummy;" >tmp-dum.c
|
||||
${CC} -S tmp-dum.c
|
||||
echo '/*WARNING: This file is automatically generated!*/' >underscore.c
|
||||
if grep _xxy_us_dummy tmp-dum.s > /dev/null ; then \
|
||||
echo "int prepends_underscore = 1;" >>underscore.c; \
|
||||
else \
|
||||
echo "int prepends_underscore = 0;" >>underscore.c; \
|
||||
fi
|
||||
# wrong to do this here, but easiest way out to duplicate gcc.c.
|
||||
echo "char *xstrerror(int e) { return strerror(e); }" >>underscore.c
|
||||
rm -f tmp-dum.c tmp-dum.s
|
||||
|
||||
.include <bsd.prog.mk>
|
7
gnu/usr.bin/cc/protoize/Makefile
Normal file
7
gnu/usr.bin/cc/protoize/Makefile
Normal file
@ -0,0 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.include "../Makefile.inc"
|
||||
|
||||
.PATH: ${GCCDIR}
|
||||
|
||||
.include <bsd.prog.mk>
|
Loading…
Reference in New Issue
Block a user