diff options
Diffstat (limited to 'archivers/openzl/files/patch-build_make_zldefs.make')
| -rw-r--r-- | archivers/openzl/files/patch-build_make_zldefs.make | 13 |
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 \ |
