Skip to content

configure.ac: Don't force CFLAGS=-O2

Matt Turner requested to merge mattst88/libdmapsharing:drop-forcing-O2 into master

Without specifying CFLAGS, autotools defaults to -g -O2, so this code adds a redundant -O2 (-g -O2 -O2). When specifying CFLAGS, this overrides the user's choice—e.g. CFLAGS="-O1" leads to the build using -O1 -O2.

Merge request reports