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
hatari
Commits
05c7f4e9
Commit
05c7f4e9
authored
Oct 09, 2020
by
Libretro-Admin
Browse files
Add rules for EXTERNAL_ZLIB
parent
5b0d38d9
Pipeline
#1322
passed with stages
in 6 minutes and 22 seconds
Changes
1
Pipelines
5
Hide whitespace changes
Inline
Side-by-side
Makefile.libretro
View file @
05c7f4e9
...
...
@@ -190,17 +190,21 @@ else
EXTERNAL_ZLIB
=
1
endif
ZLIB
=
ifneq
($(EXTERNAL_ZLIB), 1)
ZLIB
=
-lz
endif
ifeq
($(DEBUG), 1)
CFLAGS
:=
$(CFLAGS)
-Og
-g
CFLAGS
+=
-Og
-g
else
CFLAGS
:
=
-funroll-loops
-ffast-math
-fomit-frame-pointer
$(CFLAGS)
-O3
CFLAGS
+
=
-funroll-loops
-ffast-math
-fomit-frame-pointer
-O3
endif
CFLAGS
:
=
-fsigned-char
-D__LIBRETRO__
-fno-builtin
$(CFLAGS)
CFLAGS
+
=
-fsigned-char
-D__LIBRETRO__
-fno-builtin
CFLAGS
:
=
$(fpic)
$(CFLAGS)
$(PLATFLAGS)
CFLAGS
+
=
$(fpic)
$(PLATFLAGS)
CXXFLAGS
:=
$(CFLAGS)
CPPFLAGS
:=
$(CFLAGS)
CFLAGS
:=
$(CFLAGS)
EMU
=
$(CORE_DIR)
/src
CPU
=
$(EMU)
/uae-cpu
...
...
@@ -221,7 +225,7 @@ $(TARGET): $(OBJECTS)
ifeq
($(STATIC_LINKING_LINK),1)
$(AR)
rcs
$@
$(OBJECTS)
else
$(CC)
$(CFLAGS)
$(INCFLAGS)
$(LDFLAGS)
$(OBJECTS)
-o
$@
-lm
-lz
$(SHARED)
$(CC)
$(CFLAGS)
$(INCFLAGS)
$(LDFLAGS)
$(OBJECTS)
-o
$@
-lm
$(ZLIB)
$(SHARED)
endif
%.o
:
%.c
...
...
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