From 5744b82825b12ce952a13a4f93b8efd6dd112752 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Wed, 29 Apr 2015 17:42:52 +1000 Subject: [PATCH] build: add GCC 5 ODR checking --- m4/nc_optimisation.m4 | 1 + 1 file changed, 1 insertion(+) diff --git a/m4/nc_optimisation.m4 b/m4/nc_optimisation.m4 index 6d672783..f7460545 100644 --- a/m4/nc_optimisation.m4 +++ b/m4/nc_optimisation.m4 @@ -26,6 +26,7 @@ AC_DEFUN([NC_OPTIMISATION],[ AX_APPEND_COMPILE_FLAGS([-flto], [], [-Werror]) AX_APPEND_COMPILE_FLAGS([-fno-fat-lto-objects], [], [-Werror]) + AX_APPEND_COMPILE_FLAGS([-flto-odr-type-merging], [], [-Werror]) AX_APPEND_LINK_FLAGS([-fuse-linker-plugin], [], [-Werror]) ])