mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-13 17:39:57 +00:00
libhugetlbfs: Define HUGETLB_LDSCRIPT_PATH
When accessed relative to build dir it ends up using wrong relative paths and cant find the linker scripts when linked with clang Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -33,6 +33,8 @@ EXTRA_OEMAKE = "'ARCH=${LIBHUGETLBFS_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' ${LIBARGS
|
|||||||
PARALLEL_MAKE = ""
|
PARALLEL_MAKE = ""
|
||||||
CFLAGS += "-fexpensive-optimizations -frename-registers -fomit-frame-pointer -g0"
|
CFLAGS += "-fexpensive-optimizations -frename-registers -fomit-frame-pointer -g0"
|
||||||
|
|
||||||
|
export HUGETLB_LDSCRIPT_PATH="${S}/ldscripts"
|
||||||
|
|
||||||
TARGET_CC_ARCH += "${LDFLAGS}"
|
TARGET_CC_ARCH += "${LDFLAGS}"
|
||||||
|
|
||||||
#The CUSTOM_LDSCRIPTS doesn't work with the gold linker
|
#The CUSTOM_LDSCRIPTS doesn't work with the gold linker
|
||||||
|
|||||||
Reference in New Issue
Block a user