diff options
author | obrien <obrien@FreeBSD.org> | 2002-04-10 02:20:48 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-04-10 02:20:48 +0000 |
commit | 4a7b915fd56b2474db30dd62687116a77615eba2 (patch) | |
tree | 9ac18564dc8f897e62565c262cb0b689ee734b80 /gnu/usr.bin | |
parent | bd519d5625e1d22fabb246b8578420d4a5fffd06 (diff) | |
download | FreeBSD-src-4a7b915fd56b2474db30dd62687116a77615eba2.zip FreeBSD-src-4a7b915fd56b2474db30dd62687116a77615eba2.tar.gz |
In the cross case we need to provide TARGET_MACHINE.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r-- | gnu/usr.bin/cc/collect2/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/usr.bin/cc/collect2/Makefile b/gnu/usr.bin/cc/collect2/Makefile index c7283d6..8fc7066 100644 --- a/gnu/usr.bin/cc/collect2/Makefile +++ b/gnu/usr.bin/cc/collect2/Makefile @@ -10,6 +10,8 @@ BINDIR= /usr/libexec NOMAN= NOSHARED=yes +CFLAGS+= -DDEFAULT_TARGET_VERSION=\"$(version)\" + DPADD+= ${LIBCC_INT} LDADD+= ${LIBCC_INT} @@ -23,7 +25,8 @@ underscore.c: Makefile else \ echo "int prepends_underscore = 0;" >>underscore.c; \ fi - # wrong to do this here, but easiest way out to duplicate gcc.c. + @# wrong to do this here, but easiest way out to duplicate gcc.c. + echo "#include <stdio.h>" >>underscore.c echo "char *xstrerror(int e) { return strerror(e); }" >>underscore.c rm -f tmp-dum.c tmp-dum.s |