summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authormrg <mrg@pkgsrc.org>2019-12-06 05:38:02 +0000
committermrg <mrg@pkgsrc.org>2019-12-06 05:38:02 +0000
commita52c9b7e24707d0593213b5181b63e3a1b365112 (patch)
tree33d5f989a9b00462c94d5ddf9939f92c4e00ea4d /emulators
parentbb2e44f94ec0253b7ca1e5e18d14c8d388b003c6 (diff)
downloadpkgsrc-a52c9b7e24707d0593213b5181b63e3a1b365112.tar.gz
don't --disable-debug if CFLAGS contains -g.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/tme/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/emulators/tme/Makefile b/emulators/tme/Makefile
index d21d9566dbd..8f24a56a72b 100644
--- a/emulators/tme/Makefile
+++ b/emulators/tme/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.71 2019/08/11 13:20:58 wiz Exp $
+# $NetBSD: Makefile,v 1.72 2019/12/06 05:38:02 mrg Exp $
#
DISTNAME= tme-0.8
@@ -18,7 +18,10 @@ USE_LIBTOOL= yes
GNU_CONFIGURE= yes
USE_TOOLS+= gmake perl:run pkg-config yacc
+.if empty(CFLAGS:M*-g*)
CONFIGURE_ARGS+= --disable-debug
+.endif
+
# XXX Turn off -Werror for now; there are a very very large number of
# warnings generated, increasing with every compiler version.
CONFIGURE_ARGS+= --disable-warnings