openbsd-ports/graphics/zimg/patches/patch-Makefile_am
bcallah bab163ff06 Import graphics/zimg, a scaling, colorspace conversion, and dithering
library.
ok op@ sthen@

The "z" library implements the commonly required image processing basics
of scaling, colorspace conversion, and depth conversion. A simple API
enables conversion between any supported formats to operate with minimal
knowledge from the programmer. All library routines were designed from
the ground-up with correctness, flexibility, and thread-safety as first
priorities. Allocation, buffering, and I/O are cleanly separated from
processing, allowing the programmer to adapt "z" to many scenarios.
2022-09-08 11:36:49 +00:00

15 lines
472 B
Plaintext

Remove hardcoded -O2
Index: Makefile.am
--- Makefile.am.orig
+++ Makefile.am
@@ -3,7 +3,7 @@ ACLOCAL_AMFLAGS = -I m4
SUBDIRS = $(CONFIG_SUBDIRS)
warningflags = -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers
-commonflags = -O2 $(warningflags) $(DEBUGCFLAGS) $(PTHREAD_CFLAGS)
+commonflags = $(warningflags) $(DEBUGCFLAGS) $(PTHREAD_CFLAGS)
AM_CXXFLAGS = -std=$(CXXSTD) $(commonflags)
AM_CFLAGS = -std=c89 $(commonflags)
LDADD = $(PTHREAD_LIBS)