aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/gopkg.in
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2018-03-07 20:47:09 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-03-07 20:47:09 +0800
commitfc1f3f26185db35b0fa5c7e5b3a0254e61281bd6 (patch)
tree56d1b3d86b4ef851e076f0c8144272f95b73f551 /vendor/gopkg.in
parentcddb529d701fdb4f1f02fb4c96b5b604617693fe (diff)
downloaddexon-fc1f3f26185db35b0fa5c7e5b3a0254e61281bd6.tar
dexon-fc1f3f26185db35b0fa5c7e5b3a0254e61281bd6.tar.gz
dexon-fc1f3f26185db35b0fa5c7e5b3a0254e61281bd6.tar.bz2
dexon-fc1f3f26185db35b0fa5c7e5b3a0254e61281bd6.tar.lz
dexon-fc1f3f26185db35b0fa5c7e5b3a0254e61281bd6.tar.xz
dexon-fc1f3f26185db35b0fa5c7e5b3a0254e61281bd6.tar.zst
dexon-fc1f3f26185db35b0fa5c7e5b3a0254e61281bd6.zip
vendor: bump duktape to get rid of build warning
Diffstat (limited to 'vendor/gopkg.in')
-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"