summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-06-15 22:34:05 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-06-15 22:34:05 -0400
commita99b31c556020859a5440ffce5409499034f8382 (patch)
treea8afc99afac27bab5b5af5fde12262bbbdf621db
parent5f666e187ad9003f356abf460631df9c8e91f006 (diff)
cgo is also not happy about anything higher than -O0v20160516
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
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
# <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