Files
odfstudio/external/libeot/debug-no-werror.patch.0
Stephan Bergmann a3c7481469 external/libeot: Conditionally --enable/disable-debug
But --enable-debug also unconditionally enables -Werror, and which would start
to cause lots of warning errors, so patch that out.

Change-Id: I9df4b3c924d6490c4f0c01d68808fb875e0517ee
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185085
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2025-05-09 11:51:06 +02:00

12 lines
380 B
Plaintext

--- Makefile.in
+++ Makefile.in
@@ -365,7 +365,7 @@
eot2ttf_LDADD = libeot.la
eot2ttf_SOURCES = src/eot2ttf.c
common_flags = --std=c99 -DDECOMPRESS_ON
-debug_flags = -Werror -Wall -g -O0 $(common_flags)
+debug_flags = -Wall -g -O0 $(common_flags)
release_flags = -O2 $(common_flags)
@DEBUG_FALSE@eot2ttf_CFLAGS = $(release_flags)
@DEBUG_TRUE@eot2ttf_CFLAGS = $(debug_flags)