diff options
author | Marc Aurele La France <tsi@cvs.openbsd.org> | 2006-08-28 20:49:51 +0000 |
---|---|---|
committer | Marc Aurele La France <tsi@cvs.openbsd.org> | 2006-08-28 20:49:51 +0000 |
commit | 9a9aaddcc3e2b451dcc8659beaa4ae40a8bf3e32 (patch) | |
tree | 7ae498cfdaf96e40f3b065de391ed63f46557a1c | |
parent | 191dd85c1a44de33fd99379f3ffd0da7e0d9e2e7 (diff) |
-fgnu-runtime is only effective for Objective-C source, and produces a
warning otherwise.
ok herrb@
-rw-r--r-- | gnu/lib/libobjc/Makefile.bsd-wrapper | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gnu/lib/libobjc/Makefile.bsd-wrapper b/gnu/lib/libobjc/Makefile.bsd-wrapper index b2723dafb6e..b411c665c73 100644 --- a/gnu/lib/libobjc/Makefile.bsd-wrapper +++ b/gnu/lib/libobjc/Makefile.bsd-wrapper @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.bsd-wrapper,v 1.3 2005/03/28 20:21:31 kettenis Exp $ +# $OpenBSD: Makefile.bsd-wrapper,v 1.4 2006/08/28 20:49:50 tsi Exp $ LIB= objc @@ -109,26 +109,26 @@ tags: COMPILE.m=${COMPILE.c} -fgnu-runtime gc.o: gc.c - @echo "${COMPILE.m} ${.ALLSRC} -o ${.TARGET}" - @${COMPILE.m} ${.ALLSRC} -o ${.TARGET}.o + @echo "${COMPILE.c} ${.ALLSRC} -o ${.TARGET}" + @${COMPILE.c} ${.ALLSRC} -o ${.TARGET}.o @${LD} -x -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o gc.go: gc.c - @echo "${COMPILE.m} -g ${.ALLSRC} -o ${.TARGET}" - @${COMPILE.m} -g ${.ALLSRC} -o ${.TARGET}.o + @echo "${COMPILE.c} -g ${.ALLSRC} -o ${.TARGET}" + @${COMPILE.c} -g ${.ALLSRC} -o ${.TARGET}.o @${LD} -X -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o gc.po: gc.c - @echo "${COMPILE.m} -p ${.ALLSRC} -o ${.TARGET}" - @${COMPILE.m} -p ${.ALLSRC} -o ${.TARGET}.o + @echo "${COMPILE.c} -p ${.ALLSRC} -o ${.TARGET}" + @${COMPILE.c} -p ${.ALLSRC} -o ${.TARGET}.o @${LD} -X -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o gc.so: gc.c - @echo "${COMPILE.m} ${PICFLAG} -DPIC ${.ALLSRC} -o ${.TARGET}" - @${COMPILE.m} ${PICFLAG} -DPIC ${.ALLSRC} -o ${.TARGET}.o + @echo "${COMPILE.c} ${PICFLAG} -DPIC ${.ALLSRC} -o ${.TARGET}" + @${COMPILE.c} ${PICFLAG} -DPIC ${.ALLSRC} -o ${.TARGET}.o @${LD} -x -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o |