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:14 +02:00
parent f64561b708
commit 3452fbd381
-2
View File
@@ -39,9 +39,7 @@ MAKE := @$(MAKE)
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