diff options
author | js <js@pkgsrc.org> | 2021-05-25 17:10:27 +0000 |
---|---|---|
committer | js <js@pkgsrc.org> | 2021-05-25 17:10:27 +0000 |
commit | 0c4e628d333a00c5a945da7fdb3a4ad7b70d1c10 (patch) | |
tree | 2f4089d07d20b395510a193c6a554c34004c28d7 /chat/gomuks | |
parent | bef37dfaeb2aef547565cc14e3c34d1c1ec76d23 (diff) | |
download | pkgsrc-0c4e628d333a00c5a945da7fdb3a4ad7b70d1c10.tar.gz |
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 (limited to 'chat/gomuks')
-rw-r--r-- | chat/gomuks/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chat/gomuks/Makefile b/chat/gomuks/Makefile index 3891d6d22e6..5f2f7409a94 100644 --- a/chat/gomuks/Makefile +++ b/chat/gomuks/Makefile @@ -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 @@ WRKSRC= ${WRKDIR}/gomuks-0.2.3 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+= . |