diff --git a/src/system/kernel/Jamfile b/src/system/kernel/Jamfile index b51b335687..313cde708e 100644 --- a/src/system/kernel/Jamfile +++ b/src/system/kernel/Jamfile @@ -56,11 +56,19 @@ Includes [ FGristFiles syscalls.cpp ] syscall_numbers.h ; +# TODO: fix or update binutils for ppc, in the meantime this should get things going. +local linkHackLdFlags ; +if $(TARGET_ARCH) = ppc { + linkHackLdFlags = -Bdynamic ; +} else { + linkHackLdFlags = -shared -Bdynamic ; +} + KernelLd linkhack.so : <$(SOURCE_GRIST)>linkhack.o : : - -shared -Bdynamic + $(linkHackLdFlags) ; KernelLd kernel_$(TARGET_ARCH) :