From a8e00c29fe31c29174023f396d130cb10abacb7c Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sun, 6 Mar 2005 16:51:58 +0000 Subject: [PATCH] Add the newly introduced src/build/cpp_support.cpp to the sources when building under Linux. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11606 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/core/Jamfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/kernel/core/Jamfile b/src/kernel/core/Jamfile index 5178fc05b2..7eb0dd3f9d 100644 --- a/src/kernel/core/Jamfile +++ b/src/kernel/core/Jamfile @@ -1,5 +1,11 @@ SubDir OBOS_TOP src kernel core ; +local buildSources = ; +if $(OS) != BEOS { + SEARCH_SOURCE += [ FDirName $(OBOS_TOP) src build ] ; + buildSources = cpp_support.cpp ; +} + { local defines = OBOS_ARCH=\\\"$(OBOS_ARCH)\\\" @@ -42,6 +48,8 @@ KernelMergeObject kernel_core.o : thread.c timer.c user_debugger.cpp + + $(buildSources) : -fno-pic ;