openbsd-ports/games/angband/patches/patch-mk_buildsys_mk
2011-09-13 10:28:38 +00:00

55 lines
1.7 KiB
Plaintext

$OpenBSD: patch-mk_buildsys_mk,v 1.1 2011/09/13 10:28:39 edd Exp $
Show what the compiler is doing.
--- mk/buildsys.mk.orig Fri Sep 9 11:49:10 2011
+++ mk/buildsys.mk Fri Sep 9 12:02:24 2011
@@ -66,6 +66,7 @@ pre-depend:
${PROG} ${PROG_NOINST}: ${EXT_DEPS} ${OBJS}
${LINK_STATUS}
+ @echo "${LD} -o $@ ${OBJS} ${LDFLAGS} ${LIBS}"
if ${LD} -o $@ ${OBJS} ${LDFLAGS} ${LIBS}; then \
${LINK_OK}; \
else \
@@ -74,6 +75,7 @@ ${PROG} ${PROG_NOINST}: ${EXT_DEPS} ${OBJS}
${LIB} ${LIB_NOINST}: ${EXT_DEPS} ${OBJS}
${LINK_STATUS}
+ @echo "${LD} -o $@ ${OBJS} ${LIB_LDFLAGS} ${LDFLAGS} ${LIBS}"
if ${LD} -o $@ ${OBJS} ${LIB_LDFLAGS} ${LDFLAGS} ${LIBS}; then \
${LINK_OK}; \
else \
@@ -82,6 +84,7 @@ ${LIB} ${LIB_NOINST}: ${EXT_DEPS} ${OBJS}
${PLUGIN} ${PLUGIN_NONST}: ${EXT_DEPS} ${OBJS}
${LINK_STATUS}
+ @echo "${LD} -o $@ ${OBJS} ${PLUGIN_LDFLAGS} ${LDFLAGS} ${LIBS}"
if ${LD} -o $@ ${OBJS} ${PLUGIN_LDFLAGS} ${LDFLAGS} ${LIBS}; then \
${LINK_OK}; \
else \
@@ -90,6 +93,7 @@ ${PLUGIN} ${PLUGIN_NONST}: ${EXT_DEPS} ${OBJS}
${STATIC_LIB} ${STATIC_LIB_NOINST}: ${EXT_DEPS} ${OBJS}
${LINK_STATUS}
+ @echo "${AR} cr $@ ${OBJS}"
if ${AR} cr $@ ${OBJS}; then \
${LINK_OK}; \
else \
@@ -98,6 +102,7 @@ ${STATIC_LIB} ${STATIC_LIB_NOINST}: ${EXT_DEPS} ${OBJS
.c.o:
${COMPILE_STATUS}
+ @echo "${CC} ${CFLAGS} ${CPPFLAGS} ${INCLUDE} -c -o $@ $<"
if ${CC} ${CFLAGS} ${CPPFLAGS} ${INCLUDE} -c -o $@ $<; then \
${COMPILE_OK}; \
else \
@@ -106,6 +111,7 @@ ${STATIC_LIB} ${STATIC_LIB_NOINST}: ${EXT_DEPS} ${OBJS
.cc.o .cxx.o:
${COMPILE_STATUS}
+ @echo "${CXX} ${CXXFLAGS} ${CPPFLAGS} -c -o $@ $<"
if ${CXX} ${CXXFLAGS} ${CPPFLAGS} -c -o $@ $<; then \
${COMPILE_OK}; \
else \