openbsd-ports/www/node/patches/patch-deps_v8_SConstruct

27 lines
858 B
Plaintext
Raw Normal View History

2011-04-29 03:41:15 -04:00
$OpenBSD: patch-deps_v8_SConstruct,v 1.5 2011/04/29 07:41:15 jasper Exp $
2010-12-29 07:24:39 -05:00
2011-04-29 03:41:15 -04:00
- Remove extra zoom-zoom!
- Don't link with -lpthread but use -pthread instead.
2010-12-29 07:24:39 -05:00
2011-04-29 03:41:15 -04:00
--- deps/v8/SConstruct.orig Sat Apr 23 02:06:25 2011
+++ deps/v8/SConstruct Fri Apr 29 00:07:18 2011
@@ -154,7 +154,7 @@ LIBRARY_FLAGS = {
}
},
'mode:release': {
- 'CCFLAGS': ['-O3', '-fomit-frame-pointer', '-fdata-sections',
+ 'CCFLAGS': ['-fomit-frame-pointer', '-fdata-sections',
'-ffunction-sections'],
'os:android': {
'CCFLAGS': ['-mthumb', '-Os'],
2011-04-12 06:32:49 -04:00
@@ -368,7 +368,8 @@ MKSNAPSHOT_EXTRA_FLAGS = {
2010-12-29 07:24:39 -05:00
'LINKFLAGS': ['-mt']
},
'os:openbsd': {
- 'LIBS': ['execinfo', 'pthread']
+ 'LIBS': ['execinfo'],
+ 'LINKFLAGS': ['-pthread']
},
'os:win32': {
'LIBS': ['winmm', 'ws2_32'],