mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-06 11:09:31 +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
|
HOST_CFLAGS += -I/opt/homebrew/include
|
||||||
endif
|
endif
|
||||||
|
|
||||||
HOST_CFLAGS += -Wno-error
|
HOST_CFLAGS += -Wno-error -fPIC
|
||||||
|
|
||||||
HOST_CONFIGURE_ARGS += \
|
HOST_CONFIGURE_ARGS += \
|
||||||
--without-libintl-prefix \
|
--without-libintl-prefix \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user