Merge pull request #16275 from karalabe/bump-duktape

vendor: bump duktape to get rid of build warning
This commit is contained in:
Péter Szilágyi 2018-03-07 16:29:31 +02:00 committed by GitHub
commit 3ec1b9a92d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 5 deletions

View File

@ -1,8 +1,8 @@
package duktape package duktape
/* /*
#cgo !windows CFLAGS: -std=c99 -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 -fomit-frame-pointer -fstrict-aliasing #cgo windows CFLAGS: -O3 -Wall -Wno-unused-value -fomit-frame-pointer -fstrict-aliasing
#include "duktape.h" #include "duktape.h"
#include "duk_logging.h" #include "duk_logging.h"

View File

@ -5,6 +5,7 @@ package duktape
#cgo windows CFLAGS: -O3 -Wall -fomit-frame-pointer -fstrict-aliasing #cgo windows CFLAGS: -O3 -Wall -fomit-frame-pointer -fstrict-aliasing
#cgo linux LDFLAGS: -lm #cgo linux LDFLAGS: -lm
#cgo freebsd LDFLAGS: -lm #cgo freebsd LDFLAGS: -lm
#cgo openbsd LDFLAGS: -lm
#include "duktape.h" #include "duktape.h"
#include "duk_logging.h" #include "duk_logging.h"

6
vendor/vendor.json vendored
View File

@ -742,10 +742,10 @@
"revisionTime": "2016-06-21T03:49:01Z" "revisionTime": "2016-06-21T03:49:01Z"
}, },
{ {
"checksumSHA1": "YvuEbc0a032zr+BTp/YbBQojiuY=", "checksumSHA1": "vndxs5Tv09/8S+Dr2PBAiM557lI=",
"path": "gopkg.in/olebedev/go-duktape.v3", "path": "gopkg.in/olebedev/go-duktape.v3",
"revision": "9af39127cb024b355a6a0221769f6ddfe3f542e7", "revision": "abf0ba0be5d5d36b1f9266463cc320b9a5ab224e",
"revisionTime": "2017-12-20T12:19:14Z" "revisionTime": "2018-03-02T12:15:09Z"
}, },
{ {
"checksumSHA1": "4BwmmgQUhWtizsR2soXND0nqZ1I=", "checksumSHA1": "4BwmmgQUhWtizsR2soXND0nqZ1I=",