0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-11 13:09:18 +00:00
termux-packages/x11-packages/tinyemu/003-Makefile.patch
Tee KOBAYASHI 129e18a38c tree-wide: Cleanup lib{pthread,rt} patches
not handled in cec1d690cf4ec695d2e6e538efcac2a28839d618 or before.

%ci:no-build
2023-02-13 10:16:00 +00:00

23 lines
680 B
Diff

--- tinyemu-2019-12-21/Makefile 2019-12-22 00:23:54.000000000 +0700
+++ tinyemu-2019-12-21.mod/Makefile 2022-04-04 18:48:58.361000139 +0700
@@ -44,13 +44,13 @@
CROSS_PREFIX=
EXE=
endif
-CC=$(CROSS_PREFIX)gcc
-STRIP=$(CROSS_PREFIX)strip
-CFLAGS=-O2 -Wall -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -MMD
-CFLAGS+=-D_GNU_SOURCE -DCONFIG_VERSION=\"$(shell cat VERSION)\"
-LDFLAGS=
+CC?=$(CROSS_PREFIX)gcc
+STRIP?=$(CROSS_PREFIX)strip
+CFLAGS?=-O2
+CFLAGS+=-I@TERMUX_PREFIX@/include -Wall -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -MMD -DCONFIG_VERSION=\"$(cat VERSION)\"
+LDFLAGS?=
-bindir=/usr/local/bin
+bindir=@TERMUX_PREFIX@/bin
INSTALL=install
PROGS+= temu$(EXE)