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
No known key found for this signature in database
GPG key ID: 1BBA026E13FC0495

View file

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