Skip to content
This repository was archived by the owner on Apr 25, 2026. It is now read-only.

Commit 308693e

Browse files
committed
Updated picoarch.mk file to fix compilation
1 parent 559054e commit 308693e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

FunKey/package/picoarch/picoarch.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ PICOARCH_CFLAGS += -DFUNKEY_S -Ofast -DNDEBUG -D_LARGEFILE_SOURCE -D_LARGEFILE6
2020
PICOARCH_CFLAGS += -Wall -fdata-sections -ffunction-sections -flto
2121
PICOARCH_CFLAGS += -I./ -I./libretro-common/include/
2222

23+
PICOARCH_GIT_REVISION ?= $(shell cut -c1-7 "$(@D)/../../../../download/picoarch/git/.git/FETCH_HEAD")
24+
PICOARCH_CFLAGS += -DREVISION=\"$(PICOARCH_GIT_REVISION)\"
25+
2326
PICOARCH_LIBS += $(PICOARCH_SDL_LIBS)
2427
PICOARCH_LIBS += -lc -ldl -lgcc -lm -lSDL -lasound -lpng -lz -Wl,--gc-sections -flto -lSDL_image -lSDL_ttf
2528

0 commit comments

Comments
 (0)