arch: x86: Fix x86 linking

Summary:
- I noticed that qemu-i486:nsh can not start
- Finally, I found that the issue was introduced by 4910d43ab0
- Actually, nuttx_elf was linked dynamically
- This commit fixes this issue

Impact:
- Affects x86 (32bit) only

Testing:
- Tested with qemu-i486:nsh
This commit is contained in:
Masayuki Ishikawa 2020-10-17 21:19:42 +09:00 committed by Xiang Xiao
parent a0b84ae53e
commit aed9bcc001

View File

@ -74,7 +74,7 @@ OBJS = $(AOBJS) $(COBJS)
LDSTARTGROUP ?= --start-group
LDENDGROUP ?= --end-group
LDFLAGS += $(ARCHSCRIPT)
LDFLAGS += $(ARCHSCRIPT) -static
BOARDMAKE = $(if $(wildcard board$(DELIM)Makefile),y,)