From 82ae659fb52b987ade3e4d0657c1ffcc209d79b7 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Fri, 5 Dec 2014 13:14:48 +1100 Subject: [PATCH] build: remove allow-multiple-definition flag Silently ignoring multiple definitions hides linking issues under Windows in particular (eg, linking to multiple runtimes). We don't seem to be hitting the boost bug which triggered this anymore. --- configure.ac | 4 ---- 1 file changed, 4 deletions(-) diff --git a/configure.ac b/configure.ac index ead2062f..e74439ee 100644 --- a/configure.ac +++ b/configure.ac @@ -185,10 +185,6 @@ AS_IF([test "x$enable_debugging" = "xyes"], [ AS_CASE([$host_os], [mingw32], [ AX_APPEND_COMPILE_FLAGS([-gstabs], [], [-Werror]) - - ## HACK: Stop multiple defines from boost exception rethrowers - ## terminating the build. Works around boost bug #4258. - AX_APPEND_COMPILE_FLAGS([-Wl,--allow-multiple-definition], [], [-Werror]) ], [linux-gnu], [