aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/openzl/files/patch-build_make_zldefs.make
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
committerLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
commit2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch)
tree25f0138e1af8902b92dacc8cce09b267447c17db /archivers/openzl/files/patch-build_make_zldefs.make
parentf85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff)
parent1a30da80670973368b399f2b01fe9c04b91a1273 (diff)
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'archivers/openzl/files/patch-build_make_zldefs.make')
-rw-r--r--archivers/openzl/files/patch-build_make_zldefs.make13
1 files changed, 13 insertions, 0 deletions
diff --git a/archivers/openzl/files/patch-build_make_zldefs.make b/archivers/openzl/files/patch-build_make_zldefs.make
new file mode 100644
index 000000000000..3ad45b9ce3c2
--- /dev/null
+++ b/archivers/openzl/files/patch-build_make_zldefs.make
@@ -0,0 +1,13 @@
+--- build/make/zldefs.make.orig 2025-10-08 08:51:15 UTC
++++ build/make/zldefs.make
+@@ -21,8 +21,8 @@ CPPFLAGS += -I. -Iinclude -Isrc -Icpp/include -Icpp/sr
+
+ # base compilation flags
+ CPPFLAGS += -I. -Iinclude -Isrc -Icpp/include -Icpp/src
+-CFLAGS += -O1 -std=c11 # code must be compliant with C11
+-CXXFLAGS += -O1 -std=c++1z # for gtests
++CFLAGS += -std=c11 # code must be compliant with C11
++CXXFLAGS += -std=c++1z # for gtests
+ DEBUGFLAGS ?= -g \
+ -Wall -Wcast-qual -Wcast-align -Wshadow \
+ -Wstrict-aliasing=1 -Wundef -Wpointer-arith -Wvla -Wformat=2 \