1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00
therubyracer/ext/v8/upstream/fpic-on-linux-amd64.patch

14 lines
301 B
Diff
Raw Normal View History

--- SConstruct
+++ SConstruct
@@ -139,6 +139,10 @@ LIBRARY_FLAGS = {
'library:shared': {
'CPPDEFINES': ['V8_SHARED'],
'LIBS': ['pthread']
+ },
+ 'arch:x64': {
+ 'CCFLAGS': ['-fPIC'],
+ 'CXXFLAGS': ['-fPIC']
}
},
'os:macos': {