SHA256
1
0
forked from pool/kbuild
kbuild/kbuild-pthread.diff
Sascha Peilicke 95b9eb5129 Accepting request 214462 from Virtualization
I am totally unsure why this exists in devel:tools:building, AFAICS it's exclusively used (at build-time) by Virtualbox...

OBS-URL: https://build.opensuse.org/request/show/214462
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/kbuild?expand=0&rev=21
2014-01-20 08:34:07 +00:00

14 lines
526 B
Diff

Index: kbuild-0.1.9998svn2720/Config.kmk
===================================================================
--- kbuild-0.1.9998svn2720.orig/Config.kmk
+++ kbuild-0.1.9998svn2720/Config.kmk
@@ -314,7 +314,7 @@ ifndef TEMPLATE_BIN_TOOL
TEMPLATE_BIN_INCS += $(PATH_GNUMAKE_SRC)/glob /usr/local/include
endif
ifeq ($(KBUILD_TARGET),linux)
- TEMPLATE_BIN_LIBS += rt
+ TEMPLATE_BIN_LIBS += rt pthread
endif
TEMPLATE_BIN_CFLAGS.x86 += -m32
TEMPLATE_BIN_CFLAGS.sparc32 += -m32