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
flycast
Commits
842c519d
Commit
842c519d
authored
Aug 08, 2018
by
Libretro-Admin
Browse files
Disable HAVE_OPENMP for Mac
parent
98aa8585
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
842c519d
...
...
@@ -12,6 +12,7 @@ HAVE_GL3 := 0
FORCE_GLES
:=
0
STATIC_LINKING
:=
0
HAVE_TEXUPSCALE
:=
1
HAVE_OPENMP
:=
1
ifeq
($(HAVE_OIT), 1)
TARGET_NAME
:=
reicast_oit
...
...
@@ -240,6 +241,7 @@ else ifneq (,$(findstring osx,$(platform)))
else
HAVE_GENERIC_JIT
=
0
endif
HAVE_OPENMP
=
0
# iOS
else
ifneq
(,$(findstring ios,$(platform)))
...
...
@@ -278,6 +280,7 @@ else ifneq (,$(findstring ios,$(platform)))
CXX
+=
-miphoneos-version-min
=
5.0
PLATCFLAGS
+=
-miphoneos-version-min
=
5.0
endif
HAVE_OPENMP
=
0
# Theos iOS
else
ifneq
(,$(findstring theos_ios,$(platform)))
...
...
@@ -536,8 +539,11 @@ endif
ifeq
($(HAVE_TEXUPSCALE), 1)
CORE_DEFINES
+=
-DHAVE_TEXUPSCALE
ifeq
($(HAVE_OPENMP), 1)
CFLAGS
+=
-fopenmp
CXXFLAGS
+=
-fopenmp
LDFLAGS
+=
-fopenmp
endif
ifeq
($(platform), win)
LDFLAGS_END
+=
-Wl
,-Bstatic
-lgmp
-Wl
,-Bstatic
-lgomp
endif
...
...
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