diff --git a/build/jam/ArchitectureRules b/build/jam/ArchitectureRules index c71d219516..093b68a9d8 100644 --- a/build/jam/ArchitectureRules +++ b/build/jam/ArchitectureRules @@ -405,7 +405,8 @@ rule KernelArchitectureSetup architecture case arm64 : HAIKU_KERNEL_PIC_LINKFLAGS += -z max-page-size=0x1000 ; HAIKU_KERNEL_ADDON_LINKFLAGS += -z max-page-size=0x1000 ; - HAIKU_KERNEL_PIC_CCFLAGS = -fno-pic ; + HAIKU_KERNEL_PIC_CCFLAGS = -fpic ; + HAIKU_KERNEL_PIC_LINKFLAGS = -shared ; case m68k : # We don't want to have to handle emulating missing FPU opcodes for