From 72abc018feb147db3f329cb3e87b981481b6a2cf Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Thu, 26 Feb 2004 07:50:56 +0000 Subject: [PATCH] Rremoved bogus -static from CFLAGS. Makeworld will add -static in the correct place if needed and possible. Self-hosted builds can just use the system default. --- gnu/usr.bin/cc/f771/Makefile | 2 +- share/syscons/scrnmaps/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/usr.bin/cc/f771/Makefile b/gnu/usr.bin/cc/f771/Makefile index 25fb563e6a9b..436bf5962d6c 100644 --- a/gnu/usr.bin/cc/f771/Makefile +++ b/gnu/usr.bin/cc/f771/Makefile @@ -19,7 +19,7 @@ LDADD= ${LIBCC_INT} build-tools: fini fini: fini.o - ${CC} -static ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC} + ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC} CLEANFILES= fini fini.o diff --git a/share/syscons/scrnmaps/Makefile b/share/syscons/scrnmaps/Makefile index 64bf4554b6ca..1c5dc88382a1 100644 --- a/share/syscons/scrnmaps/Makefile +++ b/share/syscons/scrnmaps/Makefile @@ -20,7 +20,7 @@ ${SCRMAPS}: ${.TARGET:R}.mk rm -f ${.TARGET:R}.tmp ${SCRMAPS_MK}: ${.TARGET:R} mkscrfil.c - ${CC} -static ${CFLAGS} -I${.CURDIR} -DFIL=\"${.TARGET:R}\" ${LDFLAGS} \ + ${CC} ${CFLAGS} -I${.CURDIR} -DFIL=\"${.TARGET:R}\" ${LDFLAGS} \ -o ${.TARGET} ${.CURDIR}/mkscrfil.c .include