From 1653254a6a11879f7326dec26d2b5223aa49972e Mon Sep 17 00:00:00 2001 From: YONETANI Tomokazu Date: Fri, 25 Mar 2005 11:42:36 +0000 Subject: [PATCH] ${CC}'s here were supposed be used as preprocessor, add -E. Reported-by: Martin P. Hellwig --- lib/libncurses/libncurses/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libncurses/libncurses/Makefile b/lib/libncurses/libncurses/Makefile index c0f225674e..68e8c7a250 100644 --- a/lib/libncurses/libncurses/Makefile +++ b/lib/libncurses/libncurses/Makefile @@ -1,4 +1,4 @@ -# $DragonFly: src/lib/libncurses/libncurses/Makefile,v 1.4 2005/03/14 15:32:51 joerg Exp $ +# $DragonFly: src/lib/libncurses/libncurses/Makefile,v 1.5 2005/03/25 11:42:36 y0netan1 Exp $ LIB= ncurses @@ -51,11 +51,11 @@ make_hash: ${NCURSESTINFODIR}/comp_hash.c make_hash: hashsize.h ncurses_def.h curses.h expanded.c: - sh ${NCURSESSERIALDIR}/MKexpanded.sh "${CC}" ${CFLAGS} > $@ + sh ${NCURSESSERIALDIR}/MKexpanded.sh "${CC}" -E ${CFLAGS} > $@ fallback.c: sh ${NCURSESTINFODIR}/MKfallback.sh /usr/share/terminfo ${NCURSESDIR}/misc/terminfo.src >$@ lib_gen.c: curses.h - sh ${NCURSESBASEDIR}/MKlib_gen.sh "${CC} ${CFLAGS}" awk generated $@ + sh ${NCURSESBASEDIR}/MKlib_gen.sh "${CC} -E ${CFLAGS}" awk generated $@ lib_keyname.c: keys.list awk -f ${NCURSESBASEDIR}/MKkeyname.awk keys.list > $@ unctrl.c: -- 2.41.0