summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-12-22 02:23:59 +0000
committerSam James <sam@gentoo.org>2021-12-22 02:23:59 +0000
commitc8f63df394e7d5094bffa55d66a89501f8cb43b1 (patch)
treed5b216c249d974d490378554a4325a343ae0444a /app-arch/zstd/files/zstd-1.5.1-respect-CFLAGS.patch
parentapp-arch/zstd: enable verbose build (diff)
downloadgentoo-c8f63df394e7d5094bffa55d66a89501f8cb43b1.tar.gz
gentoo-c8f63df394e7d5094bffa55d66a89501f8cb43b1.tar.bz2
gentoo-c8f63df394e7d5094bffa55d66a89501f8cb43b1.zip
app-arch/zstd: add 1.5.1
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-arch/zstd/files/zstd-1.5.1-respect-CFLAGS.patch')
-rw-r--r--app-arch/zstd/files/zstd-1.5.1-respect-CFLAGS.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-arch/zstd/files/zstd-1.5.1-respect-CFLAGS.patch b/app-arch/zstd/files/zstd-1.5.1-respect-CFLAGS.patch
new file mode 100644
index 000000000000..63f0f47459d9
--- /dev/null
+++ b/app-arch/zstd/files/zstd-1.5.1-respect-CFLAGS.patch
@@ -0,0 +1,11 @@
+--- a/lib/libzstd.mk
++++ b/lib/libzstd.mk
+@@ -78,8 +78,6 @@ else
+ endif
+ CFLAGS += -fno-stack-protector -fomit-frame-pointer -fno-ident \
+ -DDYNAMIC_BMI2=0 -DNDEBUG
+-else
+- CFLAGS += -O3
+ endif
+
+ DEBUGLEVEL ?= 0