Skip to content

Commit

Permalink
Add more CGO vars to match Arch package guidelines
Browse files Browse the repository at this point in the history
  • Loading branch information
maximbaz committed Jun 18, 2020
1 parent cd12875 commit 6ff3ff0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ LIB_DIR = $(DESTDIR)$(PREFIX)/lib
BIN_DIR = $(DESTDIR)$(PREFIX)/bin
SHARE_DIR = $(DESTDIR)$(PREFIX)/share

export CGO_CPPFLAGS := ${CPPFLAGS}
export CGO_CFLAGS := ${CFLAGS}
export CGO_CXXFLAGS := ${CXXFLAGS}
export CGO_LDFLAGS := ${LDFLAGS}
export GOFLAGS := -buildmode=pie -trimpath

Expand Down

0 comments on commit 6ff3ff0

Please sign in to comment.