mirror of
https://git.planet-casio.com/Lephenixnoir/OpenLibm.git
synced 2024-12-28 04:23:41 +01:00
make: do not compile the static archive with -fPIC
No idea why it is enabled in the static version.
This commit is contained in:
parent
08f772e6ab
commit
e67d553764
1 changed files with 2 additions and 0 deletions
2
Make.inc
2
Make.inc
|
@ -105,7 +105,9 @@ else
|
||||||
SHLIB_EXT = so
|
SHLIB_EXT = so
|
||||||
SONAME_FLAG = -soname
|
SONAME_FLAG = -soname
|
||||||
endif
|
endif
|
||||||
|
ifneq ($(ARCH),sh3eb)
|
||||||
CFLAGS_add += -fPIC
|
CFLAGS_add += -fPIC
|
||||||
|
endif
|
||||||
shlibdir = $(libdir)
|
shlibdir = $(libdir)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue