File tree Expand file tree Collapse file tree
packages/lakka/libretro_cores/mame2010 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,16 +7,22 @@ PKG_DEPENDS_TARGET="toolchain"
77PKG_LONGDESC ="Late 2010 version of MAME (0.139) for libretro. Compatible with MAME 0.139 romsets."
88PKG_TOOLCHAIN ="manual"
99
10- make_target() {
10+ pre_make_target() {
11+ PKG_MAKE_OPTS_TARGET="CC =${CC} LD=${CC}"
1112 if [ "${ARCH}" = "arm" ]; then
12- make CC=${CC} LD=${CC} PLATCFLAGS="${CFLAGS}" PTR64=0 ARM_ENABLED=1 LCPU=arm
13+ PKG_MAKE_OPTS_TARGET+ =" PTR64=0 ARM_ENABLED=1 LCPU=arm"
1314 elif [ "${ARCH}" = "i386" ]; then
14- make CC=${CC} LD=${CC} PLATCFLAGS="${CFLAGS}" PTR64=0 ARM_ENABLED=0 LCPU=x86
15+ PKG_MAKE_OPTS_TARGET+ =" PTR64=0 ARM_ENABLED=0 LCPU=x86"
1516 elif [ "${ARCH}" = "x86_64" ]; then
16- make CC=${CC} LD=${CC} PLATCFLAGS="${CFLAGS}" PTR64=1 ARM_ENABLED=0 LCPU=x86_64
17+ PKG_MAKE_OPTS_TARGET+ =" PTR64=1 ARM_ENABLED=0 LCPU=x86_64"
1718 elif [ "${ARCH}" = "aarch64" ]; then
18- make CC=${CC} LD=${CC} PLATCFLAGS="${CFLAGS}" PTR64=1 ARM_ENABLED=1 LCPU=arm64
19+ PKG_MAKE_OPTS_TARGET+ =" PTR64=1 ARM_ENABLED=1 LCPU=arm64"
1920 fi
21+ make ${PKG_MAKE_OPTS_TARGET} PLATCFLAGS="${CFLAGS}" maketree
22+ }
23+
24+ make_target() {
25+ make ${PKG_MAKE_OPTS_TARGET} PLATCFLAGS="${CFLAGS}"
2026}
2127
2228makeinstall_target() {
Original file line number Diff line number Diff line change 1+ diff --git a/Makefile b/Makefile
2+ index 65ece36..6fd017d 100644
3+ --- a/Makefile
4+ +++ b/Makefile
5+ @@ -633,7 +633,7 @@ endif
6+ # utilities
7+ MD = -mkdir$(EXE_EXT)
8+ RM = @rm -f
9+ - OBJDUMP = @objdump
10+ + OBJDUMP ?= @objdump
11+
12+ #-------------------------------------------------
13+ # form the name of the executable
You can’t perform that action at this time.
0 commit comments