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
c133deb4
Commit
c133deb4
authored
Dec 13, 2015
by
Libretro-Admin
Browse files
Add DEBUG=0
parent
b1e60c07
Changes
1
Hide whitespace changes
Inline
Side-by-side
shell/libretro/Makefile
View file @
c133deb4
...
...
@@ -4,6 +4,7 @@ CC_AS ?= $(CC)
STRIP
=
${CC_PREFIX}
strip
LD
=
${CC}
DEBUG
:=
0
NO_REND
:=
1
TARGET_NAME
:=
reicast
...
...
@@ -139,7 +140,12 @@ DYNAREC_USED = 0
include
Makefile.common
RZDCY_CFLAGS
:=
$(CFLAGS)
-c
-O3
-DRELEASE
-frename-registers
-fsingle-precision-constant
-ffast-math
-ftree-vectorize
-fomit-frame-pointer
-D__LIBRETRO__
ifeq
($(DEBUG),1)
OPTFLAGS
:=
-O0
else
OPTFLAGS
:=
-O3
endif
RZDCY_CFLAGS
:=
$(CFLAGS)
-c
$(OPTFLAGS)
-DRELEASE
-frename-registers
-fsingle-precision-constant
-ffast-math
-ftree-vectorize
-fomit-frame-pointer
-D__LIBRETRO__
ifeq
($(WITH_DYNAREC), arm)
RZDCY_CFLAGS
+=
-march
=
armv7-a
-mtune
=
cortex-a9
-mfpu
=
vfpv3-d16
...
...
@@ -165,9 +171,9 @@ endif
RZDCY_CXXFLAGS
:=
$(RZDCY_CFLAGS)
-fno-exceptions
-fno-rtti
-std
=
gnu++11
LDFLAGS
+=
-g
-Wl
,-Map,
$(
notdir
$@
)
.map,--gc-sections
-Wl
,
-O3
-Wl
,--sort-common
LDFLAGS
+=
-g
-Wl
,-Map,
$(
notdir
$@
)
.map,--gc-sections
-Wl
,
$(OPTFLAGS)
-Wl
,--sort-common
CFLAGS
+=
-g
-O3
-D
RELEASE
-c
CFLAGS
+=
-g
$(OPTFLAGS)
-D
RELEASE
-c
CFLAGS
+=
-frename-registers
-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