diff options
author | kan <kan@FreeBSD.org> | 2007-03-12 00:28:06 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2007-03-12 00:28:06 +0000 |
commit | f85d4141eaf405aace116263c35cd7497a8abb72 (patch) | |
tree | 029a4aa766782f8feecb4ca1c1188dc07cfdbbea /gnu/usr.bin/cc/Makefile.inc | |
parent | 44a133f2e813fcb90c74f699b232eb1c17e9ccc4 (diff) | |
download | FreeBSD-src-f85d4141eaf405aace116263c35cd7497a8abb72.zip FreeBSD-src-f85d4141eaf405aace116263c35cd7497a8abb72.tar.gz |
Minor Makefile cleanup. Do not use Makefile variables named 'version' and
'target'. Latter is problematic in particular as apparently FreeBSD's
bsd.prog.mk re-defines it under some circumstances. This causes an
unexpected failures like -dumpmachine not working for cc while working
fine for c++.
Do not re-define IN_GCC in multipe places, it gets inherited from
Makefile.in anyway.
PR: gnu/110143
Submitted by: usleepless at gmail
Diffstat (limited to 'gnu/usr.bin/cc/Makefile.inc')
-rw-r--r-- | gnu/usr.bin/cc/Makefile.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/cc/Makefile.inc b/gnu/usr.bin/cc/Makefile.inc index 3dfbe85..27ebd21 100644 --- a/gnu/usr.bin/cc/Makefile.inc +++ b/gnu/usr.bin/cc/Makefile.inc @@ -16,7 +16,7 @@ MD_FILE= ../cc_tools/arm-diked.md .else MD_FILE= ${GCCDIR}/config/${GCC_CPU}/${GCC_CPU}.md .endif -target= ${TARGET_ARCH}-undermydesk-freebsd +GCC_TARGET= ${TARGET_ARCH}-undermydesk-freebsd CFLAGS+= -DIN_GCC -DHAVE_CONFIG_H CFLAGS+= -DPREFIX=\"${TOOLS_PREFIX}/usr\" |