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
commit367e86f18b84fa38a97dbf6ec57a17df6e8e31be (patch)
treeb73dfa15b7cb2c9c038d2fa74bc15820de743fe0 /emulators
parentd89020b3fd3f30287b140528c9fd5b49589b224f (diff)
downloadpkgsrc-367e86f18b84fa38a97dbf6ec57a17df6e8e31be.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