forked from rogchap/v8go
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support MSYS2 MinGW64 builds (rogchap#46)
* Support MSYS2 MinGW64 builds * Update README.md to include instructions for setting up Windows dev environments * Update README.md Co-authored-by: Roger Chapman <rogchap@gmail.com> * Switch up #cgo flags to match master * Use correct syntax for #cgo constraints Co-authored-by: neptoess <neptoess@gmail.com> Co-authored-by: Roger Chapman <rogchap@gmail.com>
- Loading branch information
1 parent
0a50c71
commit 2a13784
Showing
3 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
package v8go | ||
|
||
// #cgo CXXFLAGS: -fno-rtti -fpic -std=c++14 -I${SRCDIR}/deps/include -DV8_COMPRESS_POINTERS -DV8_31BIT_SMIS_ON_64BIT_ARCH | ||
// #cgo CXXFLAGS: -fno-rtti -fpic -std=c++14 -DV8_COMPRESS_POINTERS -DV8_31BIT_SMIS_ON_64BIT_ARCH | ||
// #cgo darwin linux CXXFLAGS: -I${SRCDIR}/deps/include | ||
// #cgo LDFLAGS: -pthread -lv8 | ||
// #cgo windows LDFLAGS: -lv8_libplatform | ||
// #cgo darwin LDFLAGS: -L${SRCDIR}/deps/darwin-x86_64 | ||
// #cgo linux LDFLAGS: -L${SRCDIR}/deps/linux-x86_64 | ||
import "C" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters