summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-06-15 22:30:05 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-06-15 22:30:05 -0400
commit5f666e187ad9003f356abf460631df9c8e91f006 (patch)
treee3dd2ae69219c3b58c3e9aef07a1242c58b393fc
parent3080f53925cd8d333b9464137587a87f7d2e3c5e (diff)
cgo does not get along with _FORTIFY_SOURCE
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 28ba6ec..a6b680f 100644
--- a/Makefile
+++ b/Makefile
@@ -34,6 +34,7 @@ topsrcdir := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST))))
topoutdir := $(topsrcdir)
include $(topsrcdir)/build-aux/Makefile.head.mk
+CGO_CPPFLAGS = $(CPPFLAGS) -U_FORTIFY_SOURCE
CGO_CFLAGS = $(CFLAGS) -Wno-unused-parameter
CGO_ENABLED = 1