From 3f05f65dbcc048a21d72304ac8c60132c2deddd3 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Fri, 4 Nov 2016 14:01:25 +0100 Subject: [PATCH] build: Avoid underlinking. --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 5bf82eca..6f99963e 100644 --- a/configure.ac +++ b/configure.ac @@ -37,7 +37,8 @@ AS_IF([test "x${GCC}" = "xyes"], VKD3D_CHECK_CFLAGS([-Wdeclaration-after-statement]) VKD3D_CHECK_CFLAGS([-Wmissing-prototypes]) VKD3D_CHECK_CFLAGS([-Wunused-but-set-parameter]) - VKD3D_CHECK_CFLAGS([-Wvla])]) + VKD3D_CHECK_CFLAGS([-Wvla]) + VKD3D_CHECK_CFLAGS([-Wl,--no-undefined])]) dnl Check for cross compilers VKD3D_CHECK_MINGW32_PROG([CROSSCC32], [CROSSTARGET32], [no])