Add oprofile patch to repo
authorRyan Dahl <ry@tinyclouds.org>
Thu, 16 Dec 2010 22:25:02 +0000 (14:25 -0800)
committerRyan Dahl <ry@tinyclouds.org>
Thu, 16 Dec 2010 22:25:02 +0000 (14:25 -0800)
deps/v8/0002-Patch-for-oprofile.patch [new file with mode: 0644]

diff --git a/deps/v8/0002-Patch-for-oprofile.patch b/deps/v8/0002-Patch-for-oprofile.patch
new file mode 100644 (file)
index 0000000..e4316a8
--- /dev/null
@@ -0,0 +1,12 @@
+--- SConstruct 2010-12-16 11:49:26.000000000 -0800
++++ /tmp/SConstruct    2010-12-16 11:48:23.000000000 -0800
+@@ -225,7 +225,8 @@
+       'LINKFLAGS':    ['-m64'],
+     },
+     'prof:oprofile': {
+-      'CPPDEFINES':   ['ENABLE_OPROFILE_AGENT']
++      'CPPDEFINES':   ['ENABLE_OPROFILE_AGENT'],
++      'LIBS': ['opagent', 'bfd']
+     }
+   },
+   'msvc': {