allow to run tests for cross linux versions
They need their own library versions, e.g. libreadline.so
This commit is contained in:
@ -23,3 +23,6 @@ ARCH_DEP_LDFLAGS+=-Wl,-rpath-link,$(INSTALL_LIB)
|
|||||||
# Our host versions work just fine.
|
# Our host versions work just fine.
|
||||||
AR = ar -rc
|
AR = ar -rc
|
||||||
RANLIB = ranlib
|
RANLIB = ranlib
|
||||||
|
|
||||||
|
# Allow to run cross-tests which expect different lib versions
|
||||||
|
export LD_PRELOAD=$(SYSROOT)/lib64/libreadline.so
|
||||||
|
@ -16,3 +16,6 @@ export LD_LIBRARY_PATH := $(LD_LIBRARY_PATH:%=%:)$(TOOLSET_DIR:%=$(SYSROOT)%/usr
|
|||||||
|
|
||||||
# The linker has problems to find indirectly referenced libraries
|
# The linker has problems to find indirectly referenced libraries
|
||||||
PROD_LDLIBS += $(LDLIBS)
|
PROD_LDLIBS += $(LDLIBS)
|
||||||
|
|
||||||
|
# Allow to run cross-tests which expect different lib versions
|
||||||
|
export LD_PRELOAD=$(SYSROOT)/lib64/libreadline.so
|
||||||
|
@ -20,3 +20,6 @@ CPPFLAGS += $(WRAPPER)
|
|||||||
# But but our host versions work just fine.
|
# But but our host versions work just fine.
|
||||||
AR = ar -rc
|
AR = ar -rc
|
||||||
RANLIB = ranlib
|
RANLIB = ranlib
|
||||||
|
|
||||||
|
# Allow to run cross-tests which expect different lib versions
|
||||||
|
export LD_PRELOAD=$(SYSROOT)/lib64/libreadline.so
|
||||||
|
@ -2,6 +2,8 @@ include $(CONFIG)/os/CONFIG_SITE.linux-x86_64.Common
|
|||||||
|
|
||||||
# Improved error checking with clang
|
# Improved error checking with clang
|
||||||
CROSS_COMPILER_TARGET_ARCHS += RHEL8-x86_64-clang
|
CROSS_COMPILER_TARGET_ARCHS += RHEL8-x86_64-clang
|
||||||
|
CROSS_COMPILER_RUNTEST_ARCHS += RHEL8-x86_64-clang
|
||||||
|
|
||||||
# Build for old RHEL7 64 bit
|
# Build for old RHEL7 64 bit
|
||||||
#CROSS_COMPILER_TARGET_ARCHS += RHEL7-x86_64
|
#CROSS_COMPILER_TARGET_ARCHS += RHEL7-x86_64
|
||||||
|
#CROSS_COMPILER_RUNTEST_ARCHS += RHEL7-x86_64
|
||||||
|
@ -8,6 +8,6 @@ CROSS_COMPILER_RUNTEST_ARCHS += RHEL9-x86_64-clang
|
|||||||
CROSS_COMPILER_TARGET_ARCHS += RHEL8-x86_64
|
CROSS_COMPILER_TARGET_ARCHS += RHEL8-x86_64
|
||||||
CROSS_COMPILER_RUNTEST_ARCHS += RHEL8-x86_64
|
CROSS_COMPILER_RUNTEST_ARCHS += RHEL8-x86_64
|
||||||
|
|
||||||
# Build for old RHEL7 64 bit
|
# Build for even older RHEL7 64 bit
|
||||||
#CROSS_COMPILER_TARGET_ARCHS += RHEL7-x86_64
|
#CROSS_COMPILER_TARGET_ARCHS += RHEL7-x86_64
|
||||||
#CROSS_COMPILER_RUNTEST_TARGET_ARCHS += RHEL7-x86_64
|
#CROSS_COMPILER_RUNTEST_ARCHS += RHEL7-x86_64
|
||||||
|
Reference in New Issue
Block a user