From d1246f33f039518f5c62953007d8fd522ace94e7 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Thu, 29 Aug 2013 22:24:36 +0200 Subject: [PATCH] Drop use of non-existing variable in KernelAddon rule. * TARGET_KERNEL_PIC_FLAGS was probably meant to be TARGET_KERNEL_PIC_CCFLAGS at the time this had been added in 2005. As correcting the name would mean that kernel add-ons would be compiled such that they wouldn't be position independent, dropping the variable makes more sense (which is just a cleanup and doesn't change anything due to that variable being always empty) --- build/jam/KernelRules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/jam/KernelRules b/build/jam/KernelRules index 21f9d94cbe..a055e6c7be 100644 --- a/build/jam/KernelRules +++ b/build/jam/KernelRules @@ -134,7 +134,7 @@ rule KernelAddon Depends $(target) : $(beginGlue) $(endGlue) ; # compile and link - SetupKernel $(sources) : $(TARGET_KERNEL_PIC_FLAGS) : false ; + SetupKernel $(sources) : : false ; local linkFlags = -nostdlib -Xlinker --no-undefined -Xlinker -soname=\"$(target:G=)\" $(TARGET_KERNEL_ADDON_LINKFLAGS) ; LINKFLAGS on $(target) = [ on $(target) return $(LINKFLAGS) ] $(linkFlags) ;