From e67d55376474e8592fc954fd302a55346ae8bcd1 Mon Sep 17 00:00:00 2001 From: Lephenixnoir Date: Fri, 21 May 2021 14:22:02 +0200 Subject: [PATCH] make: do not compile the static archive with -fPIC No idea why it is enabled in the static version. --- Make.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Make.inc b/Make.inc index bd6b377..e18a128 100644 --- a/Make.inc +++ b/Make.inc @@ -105,7 +105,9 @@ else SHLIB_EXT = so SONAME_FLAG = -soname endif +ifneq ($(ARCH),sh3eb) CFLAGS_add += -fPIC +endif shlibdir = $(libdir) endif