Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
Craft
Commits
cb5cf6d6
Unverified
Commit
cb5cf6d6
authored
Jun 25, 2019
by
Libretro-Admin
Committed by
GitHub
Jun 25, 2019
Browse files
Merge pull request #23 from yoshisuga/ios-fix
iOS: Support building for ios-arm64
parents
74b3a6dc
986fb168
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile.libretro
View file @
cb5cf6d6
...
@@ -160,17 +160,24 @@ else ifneq (,$(findstring ios,$(platform)))
...
@@ -160,17 +160,24 @@ else ifneq (,$(findstring ios,$(platform)))
PLATCFLAGS
+=
-DHAVE_POSIX_MEMALIGN
PLATCFLAGS
+=
-DHAVE_POSIX_MEMALIGN
PLATCFLAGS
+=
-DIOS
-marm
PLATCFLAGS
+=
-DIOS
-marm
CPUFLAGS
+=
-D__arm__
-D__NEON_OPT
CPUFLAGS
+=
-D__arm__
-D__NEON_OPT
CPUFLAGS
+=
-marm
-mcpu
=
cortex-a8
-mfpu
=
neon
-mfloat-abi
=
softfp
LDFLAGS
+=
-dynamiclib
LDFLAGS
+=
-dynamiclib
HAVE_NEON
=
1
HAVE_NEON
=
1
fpic
=
-fPIC
fpic
=
-fPIC
GL_LIB
:=
-framework
OpenGLES
GL_LIB
:=
-framework
OpenGLES
CC
=
clang
-arch
armv7
-isysroot
$(IOSSDK)
CC_AS
=
perl ./tools/gas-preprocessor.pl
$(CC)
CC_AS
=
perl ./tools/gas-preprocessor.pl
$(CC)
CXX
=
clang++
-arch
armv7
-isysroot
$(IOSSDK)
ifeq
($(platform),ios-arm64)
ifeq
($(platform),ios9)
CC
=
clang
-arch
arm64
-isysroot
$(IOSSDK)
CXX
=
clang++
-arch
arm64
-isysroot
$(IOSSDK)
CPUFLAGS
+=
-marm
else
CC
=
clang
-arch
armv7
-isysroot
$(IOSSDK)
CXX
=
clang++
-arch
armv7
-isysroot
$(IOSSDK)
CPUFLAGS
+=
-marm
-mcpu
=
cortex-a8
-mfpu
=
neon
-mfloat-abi
=
softfp
endif
ifeq
($(platform),$(filter $(platform),ios9 ios-arm64))
CC
+=
-miphoneos-version-min
=
8.0
CC
+=
-miphoneos-version-min
=
8.0
CC_AS
+=
-miphoneos-version-min
=
8.0
CC_AS
+=
-miphoneos-version-min
=
8.0
CXX
+=
-miphoneos-version-min
=
8.0
CXX
+=
-miphoneos-version-min
=
8.0
...
...
craft_libretro_ios.dylib
0 → 100755
View file @
cb5cf6d6
File added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment