Compare commits

...

4 Commits

Author SHA1 Message Date
Ryan 6cff167034
Merge 16cae0f938 into d4fc9d1edf 2024-03-31 19:03:11 +01:00
Dominic Szablewski d4fc9d1edf
Merge pull request #299 from Kakadus/master
Support supplying additional LDFLAGS via environment
2024-03-24 19:43:09 +01:00
Jonas Dittrich e8e15ed132
apply 010-qoi-use-arch-flags.patch 2024-03-24 18:50:47 +01:00
ErrorNoInternet 16cae0f938
chore: add link to Fedora package 2023-11-07 13:04:11 +08:00
2 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,8 @@
CC ?= gcc
CFLAGS_BENCH ?= -std=gnu99 -O3
LFLAGS_BENCH ?= -lpng
LFLAGS_BENCH ?= -lpng $(LDFLAGS)
CFLAGS_CONV ?= -std=c99 -O3
LFLAGS_CONV ?= $(LDFLAGS)
TARGET_BENCH ?= qoibench
TARGET_CONV ?= qoiconv
@ -14,7 +15,7 @@ $(TARGET_BENCH):$(TARGET_BENCH).c qoi.h
conv: $(TARGET_CONV)
$(TARGET_CONV):$(TARGET_CONV).c qoi.h
$(CC) $(CFLAGS_CONV) $(CFLAGS) $(TARGET_CONV).c -o $(TARGET_CONV)
$(CC) $(CFLAGS_CONV) $(CFLAGS) $(TARGET_CONV).c -o $(TARGET_CONV) $(LFLAGS_CONV)
.PHONY: clean
clean:

View File

@ -175,5 +175,6 @@ either, as this "reference implementation" tries to be as easy to read as possib
- [AUR](https://aur.archlinux.org/pkgbase/qoi-git/) - system-wide qoi.h, qoiconv and qoibench install as split packages.
- [Debian](https://packages.debian.org/bookworm/source/qoi) - packages for binaries and qoi.h
- [Ubuntu](https://launchpad.net/ubuntu/+source/qoi) - packages for binaries and qoi.h
- [Fedora](https://packages.fedoraproject.org/pkgs/qoi) - packages for binaries and qoi.h
Packages for other systems [tracked at Repology](https://repology.org/project/qoi/versions).