diff options
Diffstat (limited to 'meta-pkgs/boost/patches/patch-aa')
-rw-r--r-- | meta-pkgs/boost/patches/patch-aa | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-pkgs/boost/patches/patch-aa b/meta-pkgs/boost/patches/patch-aa new file mode 100644 index 00000000000..54953e871cc --- /dev/null +++ b/meta-pkgs/boost/patches/patch-aa @@ -0,0 +1,26 @@ +$NetBSD: patch-aa,v 1.1 2005/02/26 22:48:34 jmmv Exp $ + +--- tools/build/v1/gcc-tools.jam.orig 2004-10-19 17:12:58.000000000 +0200 ++++ tools/build/v1/gcc-tools.jam +@@ -123,6 +123,12 @@ else if $(UNIX) + .GCC ?= cc ; + .GXX ?= c++ ; + } ++ case NetBSD : ++ { ++ flags gcc CFLAGS <threading>multi : -pthread ; ++ flags gcc LINKFLAGS <threading>multi : -lpthread ; ++ # there is no -lrt on NetBSD ++ } + case *BSD : + { + flags gcc CFLAGS <threading>multi : -pthread ; +@@ -175,7 +181,7 @@ if $(UNIX) + SONAME = -Wl,-soname, ; + flags gcc OBJCOPY_FLAGS <debug-symbols>on : "--set-section-flags .debug_str=contents,debug" ; + } +- case OpenBSD : ++ case *BSD : + { + SONAME = -Wl,-soname, ; + } |