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:

committed by
Michael Davidsaver

parent
66537d01bd
commit
6ecc384116
@ -6,3 +6,8 @@
|
||||
|
||||
# Include common gnu compiler definitions
|
||||
include $(CONFIG)/CONFIG.gnuCommon
|
||||
|
||||
STATIC_LDFLAGS_YES= -Wl,-Bstatic
|
||||
STATIC_LDFLAGS_NO=
|
||||
STATIC_LDLIBS_YES= -Wl,-Bdynamic
|
||||
STATIC_LDLIBS_NO=
|
||||
|
Reference in New Issue
Block a user