diff options
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/cc/Makefile.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.bin/cc/Makefile.inc b/gnu/usr.bin/cc/Makefile.inc index 7b6a2ec..7776326 100644 --- a/gnu/usr.bin/cc/Makefile.inc +++ b/gnu/usr.bin/cc/Makefile.inc @@ -20,7 +20,8 @@ target= ${TARGET_ARCH}-unknown-freebsd USE_EGCS_HAIFA= 1 .endif -version!= sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < ${GCCDIR}/version.c +version!= grep version_string ${GCCDIR}/version.c \ + | sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' CFLAGS+= -DIN_GCC -DHAVE_CONFIG_H CFLAGS+= -DPREFIX=\"${TOOLS_PREFIX}/usr\" |