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
RACE
Commits
266d6e40
Commit
266d6e40
authored
Mar 27, 2021
by
Libretro-Admin
Browse files
(OSX) Add CROSS_COMPILE rules
parent
9b5ed6e5
Pipeline
#19389
passed with stages
in 8 minutes and 26 seconds
Changes
1
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
266d6e40
...
...
@@ -67,15 +67,22 @@ else ifeq ($(platform),osx)
else
ifeq
($(shell uname -p),arm)
MINVERSION
=
endif
ifndef
($(NOUNIVERSAL))
CFLAGS
+=
$(ARCHFLAGS)
CXXFLAGS
+=
$(ARCHFLAGS)
LDFLAGS
+=
$(ARCHFLAGS)
MINVERSION
=
endif
fpic
+=
$(MINVERSION)
ifeq
($(CROSS_COMPILE),1)
TARGET_RULE
=
-target
$(LIBRETRO_APPLE_PLATFORM)
-isysroot
$(LIBRETRO_APPLE_ISYSROOT)
CFLAGS
+=
$(TARGET_RULE)
CPPFLAGS
+=
$(TARGET_RULE)
CXXFLAGS
+=
$(TARGET_RULE)
LDFLAGS
+=
$(TARGET_RULE)
endif
CFLAGS
+=
$(ARCHFLAGS)
CXXFLAGS
+=
$(ARCHFLAGS)
LDFLAGS
+=
$(ARCHFLAGS)
# iOS
else
ifneq
(,$(findstring ios,$(platform)))
...
...
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