fix failing STATIC_BUILD on linux-arm

On linux-arm STATIC_BUILD used the `-static` flag
which leads for some reason to the executables being
linked against `/lib/ld.so.1` which does not exists.

Setting `STATIC_LDFLAGS_YES= -Wl,-Bstatic` in CONFIG.linux-arm.linux-arm
fixed this issue for me.
This commit is contained in:
Florian Feldbauer
2022-04-01 10:05:12 +02:00
committed by Michael Davidsaver
parent 66537d01bd
commit 6ecc384116

View File

@ -6,3 +6,8 @@
# Include common gnu compiler definitions # Include common gnu compiler definitions
include $(CONFIG)/CONFIG.gnuCommon include $(CONFIG)/CONFIG.gnuCommon
STATIC_LDFLAGS_YES= -Wl,-Bstatic
STATIC_LDFLAGS_NO=
STATIC_LDLIBS_YES= -Wl,-Bdynamic
STATIC_LDLIBS_NO=