mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
Add linker path to toolchain build
Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
This commit is contained in:
@@ -50,6 +50,14 @@ CONFIGURE_OPTIONS += \
|
||||
|
||||
CFLAGS += -fno-strict-aliasing
|
||||
|
||||
# Only for TOOLCHAIN == 1 and BUILD_ARCH == loongarch64
|
||||
ifeq "$(TOOLCHAIN)" "1"
|
||||
ifeq "$(BUILD_ARCH)" "loongarch64"
|
||||
CFLAGS += -Wl,--dynamic-linker=$(TOOLS_DIR)/lib64/ld-linux-loongarch-lp64d.so.1
|
||||
LDFLAGS += -Wl,--dynamic-linker=$(TOOLS_DIR)/lib64/ld-linux-loongarch-lp64d.so.1
|
||||
endif
|
||||
endif
|
||||
|
||||
###############################################################################
|
||||
# Top-level Rules
|
||||
###############################################################################
|
||||
|
||||
Reference in New Issue
Block a user