mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-01-12 09:39:32 +00:00
tools/elfutils: add -fPIC to fix linker errors (#13841)
Resolves issues with building PIE binaries that link against libdw or libelf Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
280d9dd758
commit
5364163e77
@ -23,7 +23,7 @@ ifeq ($(HOST_OS),Darwin)
|
||||
HOST_CFLAGS += -I/opt/homebrew/include
|
||||
endif
|
||||
|
||||
HOST_CFLAGS += -Wno-error
|
||||
HOST_CFLAGS += -Wno-error -fPIC
|
||||
|
||||
HOST_CONFIGURE_ARGS += \
|
||||
--without-libintl-prefix \
|
||||
|
Loading…
Reference in New Issue
Block a user