Make very certain that ld.so is built static

This commit is contained in:
Kevin Lange 2016-12-03 13:48:39 +09:00
parent 4f0d68ac72
commit 328aedab88

View File

@ -5,7 +5,7 @@ AR=i686-pc-toaru-ar
all: ld.so libdemo.so demo
ld.so: linker.c link.ld
i686-pc-toaru-gcc -static -std=c99 -g -U__STRICT_ANSI__ -o ld.so -Os -T link.ld linker.c
i686-pc-toaru-gcc -static -Wl,-static -std=c99 -g -U__STRICT_ANSI__ -o ld.so -Os -T link.ld linker.c
demo: demo.c
i686-pc-toaru-gcc -o demo -g demo.c -L. -ldemo