From 84c3667ebad84756f879522d86aac96b3e7f47c5 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Thu, 18 Jun 2015 02:23:05 +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 c03d915..7e2b32e 100644 --- a/Makefile +++ b/Makefile @@ -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