This repository has been archived by the owner on Dec 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from andreacgranata/master
fix for freebsd.
- Loading branch information
Showing
3 changed files
with
18 additions
and
3 deletions.
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
diff --git a/build/standalone.gypi b/build/standalone.gypi | ||
index ebdf557..c7a59bc 100644 | ||
--- a/build/standalone.gypi | ||
+++ b/build/standalone.gypi | ||
@@ -98,6 +98,9 @@ | ||
[ 'OS=="linux"', { | ||
'cflags': [ '-ansi' ], | ||
}], | ||
+ [ '(OS=="linux" or OS=="freebsd") and v8_target_arch=="x64" and component=="static_library"', { | ||
+ 'cflags': [ '-fPIC' ], | ||
+ }], | ||
[ 'visibility=="hidden"', { | ||
'cflags': [ '-fvisibility=hidden' ], | ||
}], |
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