Add ability to pass -pthread through to linker in mkoctfile.
Bug #30605
author |
Rik <octave@nomad.inbox5.com> |
date |
Fri, 20 Aug 2010 14:55:53 -0700 |
parents |
b64803a8be4e |
children |
9a64e02e2aad |
files |
ChangeLog mkoctfile.in |
diffstat |
2 files changed, 7 insertions(+), 0 deletions(-)
[+]
|
line diff
--- a/ChangeLog Wed Aug 18 14:02:16 2010 +0200
+++ b/ChangeLog Fri Aug 20 14:55:53 2010 -0700
@@ -1,3 +1,7 @@
+2010-08-09 John Swensen <jpswensen@gmail.com>
+
+ * mkoctfile.in: Add ability to pass -pthread through to linker.
+
2010-08-13 Jaroslav Hajek <highegg@gmail.com>
* NEWS: Update.
--- a/mkoctfile.in Wed Aug 18 14:02:16 2010 +0200
+++ b/mkoctfile.in Fri Aug 20 14:55:53 2010 -0700
@@ -284,6 +284,9 @@
-[lLR]* | -Wl,*)
ldflags="$ldflags $1"
;;
+ -pthread)
+ ldflags="$ldflags $1"
+ ;;
-M | -depend | --depend)
depend=true
compile=false