From a99b31c556020859a5440ffce5409499034f8382 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 15 Jun 2016 22:34:05 -0400 Subject: cgo is also not happy about anything higher than -O0 --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a6b680f..dc0bc13 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,11 @@ # License along with this manual; if not, see # . +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 -- cgit v1.2.3