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
68d7793e
Commit
68d7793e
authored
Dec 16, 2015
by
Libretro-Admin
Browse files
More fixes to Makefile to get it to compile on OSX
parent
44e5e8be
Changes
1
Hide whitespace changes
Inline
Side-by-side
shell/libretro/Makefile
View file @
68d7793e
...
...
@@ -396,7 +396,7 @@ OPTFLAGS := -O0
else
OPTFLAGS
:=
-O3
endif
RZDCY_CFLAGS
+=
$(CFLAGS)
-c
$(OPTFLAGS)
-DRELEASE
-frename-registers
-ffast-math
-ftree-vectorize
-fomit-frame-pointer
-D__LIBRETRO__
RZDCY_CFLAGS
+=
$(CFLAGS)
-c
$(OPTFLAGS)
-DRELEASE
-ffast-math
-ftree-vectorize
-fomit-frame-pointer
-D__LIBRETRO__
CFLAGS
+=
-D__LIBRETRO__
ifeq
($(WITH_DYNAREC), arm)
...
...
@@ -424,10 +424,10 @@ endif
RZDCY_CXXFLAGS
:=
$(RZDCY_CFLAGS)
-fno-exceptions
-fno-rtti
-std
=
gnu++11
LDFLAGS
+=
-g
-Wl
,-
Map,
$(
notdir
$@
)
.map,-
-gc-sections
-Wl
,
$(OPTFLAGS)
-Wl
,--sort-common
LDFLAGS
+=
-g
-Wl
,--gc-sections
-Wl
,
$(OPTFLAGS)
-Wl
,--sort-common
CFLAGS
+=
-g
$(OPTFLAGS)
-D
RELEASE
-c
CFLAGS
+=
-frename-registers
-fno-strict-aliasing
-ffast-math
-ftree-vectorize
CFLAGS
+=
-fno-strict-aliasing
-ffast-math
-ftree-vectorize
CXXFLAGS
+=
-fno-rtti
-fpermissive
-fno-operator-names
...
...
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