14 lines
633 B
Diff
14 lines
633 B
Diff
--- ./Makefile.orig 2022-09-26 22:32:14.860176950 +0530
|
|
+++ ./Makefile 2022-09-26 22:37:14.300176836 +0530
|
|
@@ -11,8 +11,8 @@
|
|
COMMON_HDR = $(SRC_COMMON)ascii.h $(SRC_COMMON)cpu.h $(SRC_COMMON)udev.h $(SRC_COMMON)printer.h $(SRC_COMMON)args.h $(SRC_COMMON)global.h
|
|
|
|
ifneq ($(OS),Windows_NT)
|
|
- GIT_VERSION := "$(shell git describe --abbrev=4 --dirty --always --tags)"
|
|
- arch := $(shell uname -m)
|
|
+ GIT_VERSION := ""
|
|
+ arch := ${TERMUX_ARCH}
|
|
ifeq ($(arch), $(filter $(arch), x86_64 amd64 i386 i486 i586 i686))
|
|
SRC_DIR=src/x86/
|
|
SOURCE += $(COMMON_SRC) $(SRC_DIR)cpuid.c $(SRC_DIR)apic.c $(SRC_DIR)cpuid_asm.c $(SRC_DIR)uarch.c
|