--- configure.ac.omv~ 2018-01-29 10:33:31.049136795 +0100 +++ configure.ac 2018-01-29 10:33:31.038136788 +0100 @@ -84,7 +84,7 @@ AC_PROG_CC # the discussion at http://lists.gnu.org/archive/html/bug-autoconf/2010-01/msg00031.html # Pedantic errors please -CFLAGS="$CFLAGS -Wall -ansi -pedantic" +CFLAGS="$CFLAGS -Wall -std=gnu99 -pedantic" # Find the standard math functions # Taken from http://www.flameeyes.eu/autotools-mythbuster/autoconf/finding.html @@ -100,7 +100,7 @@ CFLAGS="$CFLAGS -Werror" PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.28]) CFLAGS="$CFLAGS $GLIB_CFLAGS" -LDFLAGS="$LDFLAGS $GLIB_LIBS" +LDFLAGS="$LDFLAGS $GLIB_LIBS -flto" LIBS="$LIBS $GLIB_LIBS" # Allow building with debugging symbols --- poly2tri-c/refine/Makefile.am.omv~ 2018-01-29 10:33:31.093136822 +0100 +++ poly2tri-c/refine/Makefile.am 2018-01-29 10:33:31.100136827 +0100 @@ -1,6 +1,6 @@ noinst_LTLIBRARIES = libp2tc-refine.la -libp2tc_refine_la_SOURCES = bounded-line.c bounded-line.h cdt.c cdt.h cdt-flipfix.c cdt-flipfix.h circle.c circle.h cluster.c cluster.h delaunay-terminator.c delaunay-terminator.h edge.c edge.h line.c line.h rmath.c rmath.h mesh.c mesh.h mesh-action.c mesh-action.h point.c point.h pslg.c pslg.h refine.h refiner.c refiner.h triangle.c triangle.h triangulation.h utils.c utils.h vector2.c vector2.h vedge.c vedge.h vtriangle.c vtriangle.h visibility.c visibility.h +libp2tc_refine_la_SOURCES = bounded-line.c cdt-flipfix.c circle.c cluster.c delaunay-terminator.c edge.c line.c rmath.c mesh.c mesh-action.c point.c pslg.c rcdt.c refiner.c rutils.c triangle.c vector2.c vedge.c vtriangle.c visibility.c P2TC_REFINE_publicdir = $(P2TC_publicdir)/refine -P2TC_REFINE_public_HEADERS = bounded-line.h cdt.h circle.h cluster.h edge.h line.h mesh.h mesh-action.h point.h pslg.h refine.h refiner.h rmath.h triangle.h triangulation.h utils.h vector2.h vedge.h vtriangle.h visibility.h +P2TC_REFINE_public_HEADERS = bounded-line.h cdt-flipfix.h circle.h cluster.h edge.h line.h mesh.h mesh-action.h point.h pslg.h rcdt.h refine.h refiner.h rmath.h rutils.h triangle.h triangulation.h vector2.h vedge.h vtriangle.h visibility.h