openbsd-ports/www/node/patches/patch-deps_v8_SConstruct
jasper 888cb1b180 Zap zoom zoom (-O3)
prompted by zthen@
2011-04-29 07:41:15 +00:00

27 lines
858 B
Plaintext

$OpenBSD: patch-deps_v8_SConstruct,v 1.5 2011/04/29 07:41:15 jasper Exp $
- Remove extra zoom-zoom!
- Don't link with -lpthread but use -pthread instead.
--- 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'],
@@ -368,7 +368,8 @@ MKSNAPSHOT_EXTRA_FLAGS = {
'LINKFLAGS': ['-mt']
},
'os:openbsd': {
- 'LIBS': ['execinfo', 'pthread']
+ 'LIBS': ['execinfo'],
+ 'LINKFLAGS': ['-pthread']
},
'os:win32': {
'LIBS': ['winmm', 'ws2_32'],