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.
This commit is contained in:
parent
0d32b07b2d
commit
82ae659fb5
@ -185,10 +185,6 @@ AS_IF([test "x$enable_debugging" = "xyes"], [
|
|||||||
AS_CASE([$host_os],
|
AS_CASE([$host_os],
|
||||||
[mingw32], [
|
[mingw32], [
|
||||||
AX_APPEND_COMPILE_FLAGS([-gstabs], [], [-Werror])
|
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], [
|
[linux-gnu], [
|
||||||
|
Loading…
Reference in New Issue
Block a user