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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue