build: add GCC 5 ODR checking

This commit is contained in:
Danny Robson 2015-04-29 17:42:52 +10:00
parent 646a3e3902
commit 5744b82825

View File

@ -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])
])