diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2023-10-02 01:08:35 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2023-10-03 21:56:53 -0500 |
commit | ecb6205697ebc6959489ba77d3fe5c0b0d3e2a5a (patch) | |
tree | fb23387d8c199020e04cb5c36a33a4bb0521cfc0 /system/pigz/allow-flags.patch | |
parent | 1f7625b8c83e3c5a3623b59a59f62a5e4f30cbc5 (diff) | |
download | packages-ecb6205697ebc6959489ba77d3fe5c0b0d3e2a5a.tar.gz packages-ecb6205697ebc6959489ba77d3fe5c0b0d3e2a5a.tar.bz2 packages-ecb6205697ebc6959489ba77d3fe5c0b0d3e2a5a.tar.xz packages-ecb6205697ebc6959489ba77d3fe5c0b0d3e2a5a.zip |
system/pigz: Build static instead of shared
Also uses our own CFLAGS, which is generally a good idea.
Fixes: #1063
Diffstat (limited to 'system/pigz/allow-flags.patch')
-rw-r--r-- | system/pigz/allow-flags.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/system/pigz/allow-flags.patch b/system/pigz/allow-flags.patch new file mode 100644 index 000000000..b7b2b5a59 --- /dev/null +++ b/system/pigz/allow-flags.patch @@ -0,0 +1,12 @@ +--- pigz-2.8/Makefile.old 2019-04-11 03:39:47.000000000 -0500 ++++ pigz-2.8/Makefile 2023-10-02 01:07:29.659463951 -0500 +@@ -1,6 +1,6 @@ +-CC=gcc +-CFLAGS=-O3 -Wall -Wextra -Wno-unknown-pragmas -Wcast-qual +-LDFLAGS= ++CC ?= gcc ++CFLAGS ?= -O3 -Wall -Wextra -Wno-unknown-pragmas -Wcast-qual ++LDFLAGS ?= + # CFLAGS=-O3 -Wall -Wextra -Wno-unknown-pragmas -Wcast-qual -g -fsanitize=thread + # LDFLAGS=-g -fsanitize=thread + # CFLAGS=-O3 -Wall -Wextra -Wno-unknown-pragmas -Wcast-qual -g -fsanitize=address |