openbsd-ports/lang/node/patches/patch-deps_v8_SConstruct
jasper 5d73d74c96 re-import node into lang, www was poorly chosen at the time of import
from aaron bieber (MAINTAINER), with cluestick hitting by espie@ 
as discussed with and ok sthen@
2012-05-23 15:11:43 +00:00

27 lines
870 B
Plaintext

$OpenBSD: patch-deps_v8_SConstruct,v 1.1.1.1 2012/05/23 15:11:43 jasper Exp $
- Remove extra zoom-zoom!
- Don't link with -lpthread but use -pthread instead.
--- deps/v8/SConstruct.orig Wed Nov 16 13:43:22 2011
+++ deps/v8/SConstruct Wed Nov 16 13:44:20 2011
@@ -94,7 +94,7 @@ LIBRARY_FLAGS = {
'CPPDEFINES': ['ENABLE_DISASSEMBLER', 'DEBUG'],
},
'mode:release': {
- 'CCFLAGS': ['-O3', '-fomit-frame-pointer', '-fdata-sections',
+ 'CCFLAGS': ['-fomit-frame-pointer', '-fdata-sections',
'-ffunction-sections'],
},
'os:linux': {
@@ -358,7 +358,8 @@ MKSNAPSHOT_EXTRA_FLAGS = {
'LINKFLAGS': ['-mt']
},
'os:openbsd': {
- 'LIBS': ['execinfo', 'pthread']
+ 'LIBS': ['execinfo'],
+ 'LINKFLAGS': ['-pthread'],
},
'os:win32': {
'LIBS': ['winmm', 'ws2_32'],