1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-20 21:19:09 +00:00
termux-packages/packages/pigz/Makefile.patch
Henrik Grimler 986babfda7 tree-wide: remove pthread/rt patches and workarounds
Commit af18f1dac0 ("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