Unverified Commit f62fa3df authored by Dmitry Marakasov's avatar Dmitry Marakasov Committed by GitHub
Browse files

Fix build with clang

-flto=auto is gcc specific and fails under clang
parent 30f386aa
......@@ -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)),)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment