Debian Codegraph @

.github/workflows/patches/appimage-type2-runtime-build.patch

raw
1 diff -Naur type2-runtime/src/runtime/Makefile type2-runtime-build/src/runtime/Makefile
2 --- type2-runtime/src/runtime/Makefile 2024-12-21 07:54:48.000000000 +0100
3 +++ type2-runtime-build/src/runtime/Makefile 2025-02-10 21:56:32.860399400 +0100
4 @@ -1,12 +1,12 @@
5 GIT_COMMIT := $(shell cat version)
6 -CC = clang
7 -CFLAGS = -std=gnu99 -Os -D_FILE_OFFSET_BITS=64 -DGIT_COMMIT=\"$(GIT_COMMIT)\" -T data_sections.ld -ffunction-sections -fdata-sections -Wl,--gc-sections -static -Wall -Werror -static-pie
8 -LIBS = -lsquashfuse -lsquashfuse_ll -lzstd -lz -lfuse3 -lmimalloc
9 +CC = gcc
10 +CFLAGS = -std=gnu99 -Os -D_FILE_OFFSET_BITS=64 -DGIT_COMMIT=\"$(GIT_COMMIT)\" -T data_sections.ld -ffunction-sections -fdata-sections -Wl,--gc-sections -static -Wall
11 +LIBS = -lsquashfuse -lsquashfuse_ll -lzstd -llzma -lz -lfuse3 -ldl -lpthread
12
13 all: runtime
14
15 runtime: runtime.c
16 - $(CC) -I/usr/local/include/squashfuse -I/usr/include/fuse3 $(CFLAGS) $^ $(LIBS) -o $@
17 + $(CC) -I/usr/local/include -I/usr/local/include/fuse3 $(CFLAGS) $^ $(LIBS) -o $@
18
19 clean:
20 rm -f runtime