notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ceaf498
)
linux-portable target works now
author
twinaphex
<libretro@gmail.com>
Thu, 5 Mar 2015 18:47:18 +0000
(19:47 +0100)
committer
twinaphex
<libretro@gmail.com>
Thu, 5 Mar 2015 18:47:18 +0000
(19:47 +0100)
Makefile.libretro
patch
|
blob
|
blame
|
history
diff --git
a/Makefile.libretro
b/Makefile.libretro
index
61deaad
..
8fe3060
100644
(file)
--- a/
Makefile.libretro
+++ b/
Makefile.libretro
@@
-24,6
+24,7
@@
CC_AS ?= $(CC)
CFLAGS ?=
TARGET_NAME := picodrive
+LIBM := -lm
asm_memory = 0
asm_render = 0
@@
-41,6
+42,7
@@
ifeq ($(platform), unix)
else ifeq ($(platform), linux-portable)
TARGET := $(TARGET_NAME)_libretro.so
SHARED := -shared -nostdlib -L. -lmusl
+ LIBM :=
DONT_COMPILE_IN_ZLIB = 1
CFLAGS += -DFAMEC_NO_GOTOS
else ifeq ($(platform), osx)
@@
-250,7
+252,7
@@
endif
CFLAGS += -fPIC
ifeq ($(findstring Haiku,$(shell uname -a)),)
- LDLIBS +=
-lm
+ LDLIBS +=
$(LIBM)
endif
SHARED ?= -shared
LDFLAGS += $(SHARED)