From 5f666e187ad9003f356abf460631df9c8e91f006 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 15 Jun 2016 22:30:05 -0400 Subject: cgo does not get along with _FORTIFY_SOURCE --- Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile') 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 -- cgit v1.2.2