mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-20 10:13:01 +01:00
Swamp make and gzip.
This commit is contained in:
parent
e4f5342ee4
commit
3fd451a909
12 changed files with 51 additions and 44 deletions
23
sysa/gzip-1.2.4/mk/main.mk
Normal file
23
sysa/gzip-1.2.4/mk/main.mk
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# SPDX-FileCopyrightText: 2022 Andrius Štikonas <andrius@stikonas.eu>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
CC = tcc
|
||||
AR = tcc -ar
|
||||
|
||||
# -DSIZEOF_UNSIGNED_LONG=4 forces use of simulated arithmetic
|
||||
# This is to avoid running configure test to determine sizeof(long long)
|
||||
CPPFLAGS = -DNO_UTIME \
|
||||
-Dstrlwr=unused
|
||||
|
||||
CFLAGS = -I . -static
|
||||
|
||||
.PHONY: all
|
||||
|
||||
GZIP_SRC = gzip bits crypt deflate getopt inflate lzw trees unlzh unlzw unpack unzip util zip
|
||||
GZIP_OBJ = $(addsuffix .o, $(GZIP_SRC))
|
||||
|
||||
all: gzip
|
||||
|
||||
gzip: $(GZIP_OBJ)
|
||||
$(CC) $^ -o $@
|
||||
Loading…
Add table
Add a link
Reference in a new issue