From 4b9fc7ab1f8fbd78b58b36ed7665e67c4b81921d Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Sun, 22 Apr 2007 00:05:05 -0400 Subject: [PATCH] Fix EXCFLAGS in the /cmd directory. --- cmd/Makefile | 4 ++-- util/compile | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cmd/Makefile b/cmd/Makefile index f08708bc..f1872dd8 100644 --- a/cmd/Makefile +++ b/cmd/Makefile @@ -16,7 +16,8 @@ FILTER = sed "s|CONFPREFIX|${ETC}|g; \ s|CONFVERSION|${CONFVERSION}|g; \ s|P9PATHS|${P9PATHS}|g; \ s|AWKPATH|${AWKPATH}|g" -EXCFLAGS = -DVERSION=\"${VERSION}\" + +EXCFLAGS = ${INCX11} -DVERSION=\"${VERSION}\" include ${ROOT}/mk/many.mk include ${ROOT}/mk/dir.mk @@ -25,6 +26,5 @@ OWMIIR=wmiir.o ${OFILES} ${LIBIXP} wmiir.O: ${OWMIIR} ${LINK} $@ ${STATIC} ${OWMIIR} -EXCFLAGS=${INCX11} wmii9menu.O: wmii9menu.o ${OFILES} ${LINK} $@ $*.o ${OFILES} ${LIBX11} diff --git a/util/compile b/util/compile index a4f7159f..ada5cce5 100755 --- a/util/compile +++ b/util/compile @@ -7,6 +7,7 @@ outfile="$1"; shift xtmp=/tmp/cc.$$.$USER.out echo CC ${BASE}$outfile +echo $CC -o $outfile $CFLAGS $@ 2>$xtmp $CC -o $outfile $CFLAGS $@ 2>$xtmp status=$?