diff --git a/src/system/runtime_loader/arch/arm/Jamfile b/src/system/runtime_loader/arch/arm/Jamfile index 2533a32e49..500d89a703 100644 --- a/src/system/runtime_loader/arch/arm/Jamfile +++ b/src/system/runtime_loader/arch/arm/Jamfile @@ -10,6 +10,8 @@ for architectureObject in [ MultiArchSubDirSetup arm ] { SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) $(DOTDOT) ] ; + DEFINES += _LOADER_MODE ; + StaticLibrary <$(architecture)>libruntime_loader_$(TARGET_ARCH).a : arch_relocate.cpp : diff --git a/src/system/runtime_loader/arch/arm64/Jamfile b/src/system/runtime_loader/arch/arm64/Jamfile index a1e1867657..182114203b 100644 --- a/src/system/runtime_loader/arch/arm64/Jamfile +++ b/src/system/runtime_loader/arch/arm64/Jamfile @@ -10,6 +10,8 @@ for architectureObject in [ MultiArchSubDirSetup arm64 ] { SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) $(DOTDOT) ] ; + DEFINES += _LOADER_MODE ; + StaticLibrary <$(architecture)>libruntime_loader_$(TARGET_ARCH).a : arch_relocate.cpp : diff --git a/src/system/runtime_loader/arch/m68k/Jamfile b/src/system/runtime_loader/arch/m68k/Jamfile index 1dc43f5c38..cfb139c93f 100644 --- a/src/system/runtime_loader/arch/m68k/Jamfile +++ b/src/system/runtime_loader/arch/m68k/Jamfile @@ -10,6 +10,8 @@ for architectureObject in [ MultiArchSubDirSetup m68k ] { SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) $(DOTDOT) ] ; + DEFINES += _LOADER_MODE ; + StaticLibrary <$(architecture)>libruntime_loader_$(TARGET_ARCH).a : arch_relocate.cpp : diff --git a/src/system/runtime_loader/arch/ppc/Jamfile b/src/system/runtime_loader/arch/ppc/Jamfile index 6bc521b45e..26cb1d351c 100644 --- a/src/system/runtime_loader/arch/ppc/Jamfile +++ b/src/system/runtime_loader/arch/ppc/Jamfile @@ -10,6 +10,8 @@ for architectureObject in [ MultiArchSubDirSetup ppc ] { SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) $(DOTDOT) ] ; + DEFINES += _LOADER_MODE ; + StaticLibrary <$(architecture)>libruntime_loader_$(TARGET_ARCH).a : arch_relocate.cpp : diff --git a/src/system/runtime_loader/arch/riscv64/Jamfile b/src/system/runtime_loader/arch/riscv64/Jamfile index 4204d6d9d3..0cb1eb7e79 100644 --- a/src/system/runtime_loader/arch/riscv64/Jamfile +++ b/src/system/runtime_loader/arch/riscv64/Jamfile @@ -10,6 +10,8 @@ for architectureObject in [ MultiArchSubDirSetup riscv64 ] { SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) $(DOTDOT) ] ; + DEFINES += _LOADER_MODE ; + StaticLibrary <$(architecture)>libruntime_loader_$(TARGET_ARCH).a : arch_relocate.cpp : diff --git a/src/system/runtime_loader/arch/sparc/Jamfile b/src/system/runtime_loader/arch/sparc/Jamfile index 59472320ee..43de71c836 100644 --- a/src/system/runtime_loader/arch/sparc/Jamfile +++ b/src/system/runtime_loader/arch/sparc/Jamfile @@ -10,6 +10,8 @@ for architectureObject in [ MultiArchSubDirSetup sparc ] { SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) $(DOTDOT) ] ; + DEFINES += _LOADER_MODE ; + StaticLibrary <$(architecture)>libruntime_loader_$(TARGET_ARCH).a : arch_relocate.cpp : diff --git a/src/system/runtime_loader/arch/x86/Jamfile b/src/system/runtime_loader/arch/x86/Jamfile index 68cb226dd0..1348a19789 100644 --- a/src/system/runtime_loader/arch/x86/Jamfile +++ b/src/system/runtime_loader/arch/x86/Jamfile @@ -10,6 +10,8 @@ for architectureObject in [ MultiArchSubDirSetup x86 x86_gcc2 ] { SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) $(DOTDOT) ] ; + DEFINES += _LOADER_MODE ; + StaticLibrary <$(architecture)>libruntime_loader_$(TARGET_ARCH).a : arch_relocate.cpp : diff --git a/src/system/runtime_loader/arch/x86_64/Jamfile b/src/system/runtime_loader/arch/x86_64/Jamfile index 009713d953..d5d101fe93 100644 --- a/src/system/runtime_loader/arch/x86_64/Jamfile +++ b/src/system/runtime_loader/arch/x86_64/Jamfile @@ -10,6 +10,8 @@ for architectureObject in [ MultiArchSubDirSetup x86_64 ] { SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) $(DOTDOT) ] ; + DEFINES += _LOADER_MODE ; + StaticLibrary <$(architecture)>libruntime_loader_$(TARGET_ARCH).a : arch_relocate.cpp :