mirror of
https://github.com/libretro/snes9x2010.git
synced 2024-11-27 02:00:21 +00:00
Fix build with clang
-flto=auto is gcc specific and fails under clang
This commit is contained in:
parent
30f386aa51
commit
f62fa3df6a
@ -115,7 +115,7 @@ ifeq ($(platform), unix)
|
||||
EXT ?= so
|
||||
TARGET := $(TARGET_NAME)_libretro$(PLAT).$(EXT)
|
||||
fpic := -fPIC
|
||||
LTO ?= -flto=auto
|
||||
LTO ?= -flto
|
||||
SHARED := -shared -Wl,--version-script=libretro/link.T
|
||||
ifneq ($(findstring Haiku,$(shell uname -a)),)
|
||||
LIBM :=
|
||||
|
Loading…
Reference in New Issue
Block a user