svg-flatten: Bump to -O2

This commit is contained in:
jaseg 2021-02-27 20:11:24 +01:00
parent 3d2aefe4d9
commit ada252ad6d

View file

@ -46,7 +46,7 @@ SOURCES += $(PUGIXML_SOURCES)
INCLUDES := -Iinclude -Isrc $(DEP_INCLUDES)
PKG_CONFIG_DEPS := cairo
CXXFLAGS := -std=c++2a -g -Wall -Wextra -O0
CXXFLAGS := -std=c++2a -g -Wall -Wextra -O2
CXXFLAGS += $(shell $(PKG_CONFIG) --cflags $(PKG_CONFIG_DEPS))
# hack for stone age opencv in debian stable
CXXFLAGS += $(shell $(PKG_CONFIG) --cflags opencv4 2> /dev/null || $(PKG_CONFIG) --cflags opencv 2>/dev/null)