Skip to content

Commit ac2a048

Browse files
author
Salah Aldeen Al Saleh
authored
add build flags to ffi (#349)
1 parent bc91151 commit ac2a048

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ all: test
4141

4242
.PHONY: ffi
4343
ffi: fmt vet
44-
go build ${LDFLAGS} -o bin/troubleshoot.so -buildmode=c-shared ffi/main.go
44+
go build ${BUILDFLAGS} ${LDFLAGS} -o bin/troubleshoot.so -buildmode=c-shared ffi/main.go
4545

4646
# Run tests
4747
test: generate fmt vet

0 commit comments

Comments
 (0)