Default to -fPIC, bloats archives slightly, but works for everyone.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2015-06-18 02:24:17 +02:00
parent 262f8b8936
commit 84c3667eba
-2
View File
@@ -36,9 +36,7 @@ STRIP ?= $(CROSS)strip
INSTALL := install --backup=off
STRIPINST := $(INSTALL) -s --strip-program=$(CROSS)strip -m 0755
ifndef STATIC
CFLAGS += -fPIC
endif
CFLAGS += -Os
CPPFLAGS += -W -Wall -Werror
ARFLAGS = crus