pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/chat/gomuks chat/gomuks: Add -O2 to CGO_CFLAGS
details: https://anonhg.NetBSD.org/pkgsrc/rev/319320fc6665
branches: trunk
changeset: 453244:319320fc6665
user: js <js%pkgsrc.org@localhost>
date: Tue May 25 17:10:27 2021 +0000
description:
chat/gomuks: Add -O2 to CGO_CFLAGS
This fixes
/usr/include/features.h:397:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]
on Linux.
diffstat:
chat/gomuks/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 6c18b3253112 -r 319320fc6665 chat/gomuks/Makefile
--- a/chat/gomuks/Makefile Tue May 25 17:02:13 2021 +0000
+++ b/chat/gomuks/Makefile Tue May 25 17:10:27 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2021/05/23 07:17:50 ryoon Exp $
+# $NetBSD: Makefile,v 1.4 2021/05/25 17:10:27 js Exp $
GITHUB_PROJECT= gomuks
GITHUB_TAG= v${PKGVERSION_NOREV}
@@ -17,7 +17,7 @@
USE_LANGUAGES= c
USE_TOOLS= pkg-config
-MAKE_ENV+= CGO_CFLAGS="`${TOOLS_CMD.pkg-config} --cflags olm`"
+MAKE_ENV+= CGO_CFLAGS="`${TOOLS_CMD.pkg-config} --cflags olm` -O2"
MAKE_ENV+= CGO_LDFLAGS="`${TOOLS_CMD.pkg-config} pkg-config --libs olm`"
GO_BUILD_PATTERN+= .
Home |
Main Index |
Thread Index |
Old Index