diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-06-15 22:34:05 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-06-15 22:34:05 -0400 |
commit | a99b31c556020859a5440ffce5409499034f8382 (patch) | |
tree | a8afc99afac27bab5b5af5fde12262bbbdf621db | |
parent | 5f666e187ad9003f356abf460631df9c8e91f006 (diff) |
cgo is also not happy about anything higher than -O0v20160516
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -19,6 +19,11 @@ # License along with this manual; if not, see # <http://www.gnu.org/licenses/>. +prefix=/usr +bindir=$(libexecdir)/$(PACKAGE) +libexecdir=$(libdir) +sysconfdir=/etc + PACKAGE = parabola-hackers sysusersdir=$(prefix)/lib/sysusers.d systemunitdir=$(prefix)/lib/systemd/system @@ -35,7 +40,7 @@ topoutdir := $(topsrcdir) include $(topsrcdir)/build-aux/Makefile.head.mk CGO_CPPFLAGS = $(CPPFLAGS) -U_FORTIFY_SOURCE -CGO_CFLAGS = $(CFLAGS) -Wno-unused-parameter +CGO_CFLAGS = $(CFLAGS) -O0 -Wno-unused-parameter CGO_ENABLED = 1 at.subdirs += src/lukeshu.com/git/go/libnslcd.git/proto |