diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-06-15 22:30:05 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-06-15 22:30:05 -0400 |
commit | 5f666e187ad9003f356abf460631df9c8e91f006 (patch) | |
tree | e3dd2ae69219c3b58c3e9aef07a1242c58b393fc | |
parent | 3080f53925cd8d333b9464137587a87f7d2e3c5e (diff) |
cgo does not get along with _FORTIFY_SOURCE
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |