From c7beb306cf305d142de9e8b6426f588477940e7f Mon Sep 17 00:00:00 2001 From: Jools Wills Date: Fri, 10 Jan 2020 17:54:48 +0000 Subject: fixed building on arm - missing -fPIC during compilation - fixes #71 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3e57b3a..f1fe820 100644 --- a/Makefile +++ b/Makefile @@ -560,10 +560,10 @@ else ifneq ($(platform),genode) endif %.o: %.cpp - $(CXX) $(CXXFLAGS) -c $(OBJOUT)$@ $< + $(CXX) $(fpic) $(CXXFLAGS) -c $(OBJOUT)$@ $< %.o: %.c - $(CC) $(CFLAGS) -c $(OBJOUT)$@ $< + $(CC) $(fpic) $(CFLAGS) -c $(OBJOUT)$@ $< ifeq ($(platform), theos_ios) COMMON_FLAGS := -DIOS $(COMMON_DEFINES) $(INCFLAGS) -I$(THEOS_INCLUDE_PATH) -Wno-error -- cgit v1.2.3