pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/chat/gomuks



Module Name:    pkgsrc
Committed By:   js
Date:           Tue May 25 17:10:27 UTC 2021

Modified Files:
        pkgsrc/chat/gomuks: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/chat/gomuks/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/chat/gomuks/Makefile
diff -u pkgsrc/chat/gomuks/Makefile:1.3 pkgsrc/chat/gomuks/Makefile:1.4
--- pkgsrc/chat/gomuks/Makefile:1.3     Sun May 23 07:17:50 2021
+++ pkgsrc/chat/gomuks/Makefile Tue May 25 17:10:27 2021
@@ -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+=     .



Home | Main Index | Thread Index | Old Index