From 3452fbd381ba85bef35682fa62bb344007a49745 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Thu, 18 Jun 2015 02:24:14 +0200 Subject: [PATCH] Default to -fPIC, bloats archives slightly, but works for everyone. Signed-off-by: Joachim Nilsson --- Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Makefile b/Makefile index 0871dbb..fc79318 100644 --- a/Makefile +++ b/Makefile @@ -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