From a76ac581348d33b95ad26de21aa791afea5ea9e1 Mon Sep 17 00:00:00 2001 From: sthen Date: Mon, 21 May 2018 21:11:27 +0000 Subject: [PATCH] move MODGO_FLAGS+=-x under the DEBUG .if - as jsing pointed out a while ago, output from this is really very noisy. since the build with no flags is silent, add -v as a middle ground by defaulot, so you can see that something is happening during the build, but without so much console spam. ok jasper@ --- lang/go/go.port.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lang/go/go.port.mk b/lang/go/go.port.mk index c749da797c0..1a5827dbe23 100644 --- a/lang/go/go.port.mk +++ b/lang/go/go.port.mk @@ -1,4 +1,4 @@ -# $OpenBSD: go.port.mk,v 1.19 2018/05/10 18:39:35 kn Exp $ +# $OpenBSD: go.port.mk,v 1.20 2018/05/21 21:11:27 sthen Exp $ ONLY_FOR_ARCHS ?= ${GO_ARCHS} @@ -45,11 +45,13 @@ MODGO_SETUP_WORKSPACE = mkdir -p ${WRKSRC:H}; mv ${MODGO_SUBDIR} ${WRKSRC}; CATEGORIES += lang/go MODGO_BUILD_TARGET = ${MODGO_BUILD_CMD} ${ALL_TARGET} -MODGO_FLAGS += -x +MODGO_FLAGS += -v -p ${MAKE_JOBS} .if empty(DEBUG) # by default omit symbol table, debug information and DWARF symbol table MODGO_LDFLAGS += -s -w +.else +MODGO_FLAGS += -x .endif INSTALL_STRIP =