aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/gopkg.in/olebedev/go-duktape.v3
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/gopkg.in/olebedev/go-duktape.v3')
-rw-r--r--vendor/gopkg.in/olebedev/go-duktape.v3/api.go4
-rw-r--r--vendor/gopkg.in/olebedev/go-duktape.v3/duktape.go1
2 files changed, 3 insertions, 2 deletions
diff --git a/vendor/gopkg.in/olebedev/go-duktape.v3/api.go b/vendor/gopkg.in/olebedev/go-duktape.v3/api.go
index 6617ec23d..924b5c32f 100644
--- a/vendor/gopkg.in/olebedev/go-duktape.v3/api.go
+++ b/vendor/gopkg.in/olebedev/go-duktape.v3/api.go
@@ -1,8 +1,8 @@
package duktape
/*
-#cgo !windows CFLAGS: -std=c99 -O3 -Wall -fomit-frame-pointer -fstrict-aliasing
-#cgo windows CFLAGS: -O3 -Wall -fomit-frame-pointer -fstrict-aliasing
+#cgo !windows CFLAGS: -std=c99 -O3 -Wall -Wno-unused-value -fomit-frame-pointer -fstrict-aliasing
+#cgo windows CFLAGS: -O3 -Wall -Wno-unused-value -fomit-frame-pointer -fstrict-aliasing
#include "duktape.h"
#include "duk_logging.h"
diff --git a/vendor/gopkg.in/olebedev/go-duktape.v3/duktape.go b/vendor/gopkg.in/olebedev/go-duktape.v3/duktape.go
index f0806fcae..83a7a8087 100644
--- a/vendor/gopkg.in/olebedev/go-duktape.v3/duktape.go
+++ b/vendor/gopkg.in/olebedev/go-duktape.v3/duktape.go
@@ -5,6 +5,7 @@ package duktape
#cgo windows CFLAGS: -O3 -Wall -fomit-frame-pointer -fstrict-aliasing
#cgo linux LDFLAGS: -lm
#cgo freebsd LDFLAGS: -lm
+#cgo openbsd LDFLAGS: -lm
#include "duktape.h"
#include "duk_logging.h"