add -fPIC

This commit is contained in:
Yuichi Nishiwaki 2015-05-30 23:07:31 +09:00
parent 599d8f5980
commit 5092affcfc
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ test-r7rs: bin/picrin t/r7rs-tests.scm
test-contribs: bin/picrin $(CONTRIB_TESTS)
test-nostdlib:
$(CC) -I extlib/benz/include -D'PIC_ENABLE_LIBC=0' -D'PIC_ENABLE_FLOAT=0'-nostdlib -shared -std=c89 -ansi -pedantic -Wall -Wextra -o lib/libbenz.so $(BENZ_SRCS)
$(CC) -I extlib/benz/include -D'PIC_ENABLE_LIBC=0' -D'PIC_ENABLE_FLOAT=0'-nostdlib -fPIC -shared -std=c89 -ansi -pedantic -Wall -Wextra -o lib/libbenz.so $(BENZ_SRCS)
rm -f lib/libbenz.so
install: all