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/c++filt | |
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/c++filt')
-rw-r--r-- | gnu/usr.bin/cc/c++filt/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.bin/cc/c++filt/Makefile b/gnu/usr.bin/cc/c++filt/Makefile index f912c78..4112772 100644 --- a/gnu/usr.bin/cc/c++filt/Makefile +++ b/gnu/usr.bin/cc/c++filt/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ .include "../Makefile.inc" +.include "../Makefile.fe" .PATH: ${GCCDIR} @@ -8,7 +9,7 @@ PROG= c++filt SRCS= cp-demangle.c NO_MAN= -CFLAGS+= -DSTANDALONE_DEMANGLER -DIN_GCC -DVERSION=\"$(version)\" +CFLAGS+= -DSTANDALONE_DEMANGLER -DVERSION=\"$(GCC_VERSION)\" DPADD= ${LIBCC_INT} LDADD= ${LIBCC_INT} |