0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-04 18:45:52 +00:00
termux-packages/packages/pigz/Makefile.patch
Henrik Grimler 986babfda7 tree-wide: remove pthread/rt patches and workarounds
Commit af18f1dac0b5 ("scripts: start_build: create libpthread and
librt as well") added helper libs so that packages that try to find
these libs can do so.

%ci:no-build
2023-02-13 05:56:37 +00:00

12 lines
378 B
Diff

--- ./Makefile.orig 2021-02-04 19:47:43.746288080 +0000
+++ ./Makefile 2021-02-04 19:48:32.749583554 +0000
@@ -1,5 +1,5 @@
-CC=gcc
-CFLAGS=-O3 -Wall -Wextra -Wno-unknown-pragmas -Wcast-qual
-LDFLAGS=
+CC?=gcc
+CFLAGS+=-Wall -Wextra -Wno-unknown-pragmas
+LDFLAGS?=
# CFLAGS=-O3 -Wall -Wextra -Wno-unknown-pragmas -Wcast-qual -g -fsanitize=thread
# LDFLAGS=-g -fsanitize=thread