make: do not compile the static archive with -fPIC

No idea why it is enabled in the static version.
This commit is contained in:
Lephenixnoir 2021-05-21 14:22:02 +02:00
parent 08f772e6ab
commit e67d553764
Signed by untrusted user: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
1 changed files with 2 additions and 0 deletions

View File

@ -105,7 +105,9 @@ else
SHLIB_EXT = so
SONAME_FLAG = -soname
endif
ifneq ($(ARCH),sh3eb)
CFLAGS_add += -fPIC
endif
shlibdir = $(libdir)
endif