mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 07:19:08 +08:00
15 lines
490 B
Diff
15 lines
490 B
Diff
|
diff --git a/configure.ac b/configure.ac
|
||
|
index e250c0c31..0465120ba 100644
|
||
|
--- a/configure.ac
|
||
|
+++ b/configure.ac
|
||
|
@@ -83,7 +83,7 @@ ADD_INCLS=""
|
||
|
ADD_LDFLAGS="$ADD_LDFLAGS -L\$(abs_top_srcdir)/lib"
|
||
|
LIBWANDIO_LIBS=""
|
||
|
|
||
|
-CFLAGS="$CFLAGS -Wall -Wmissing-prototypes -Wextra -DLT_BUILDING_DLL=1"
|
||
|
+CFLAGS="$CFLAGS -Wall -DLT_BUILDING_DLL=1 -DNOMINMAX"
|
||
|
-CXXFLAGS="$CXXFLAGS -Wall -DLT_BUILDING_DLL=1"
|
||
|
+CXXFLAGS="$CXXFLAGS -Wall -DLT_BUILDING_DLL=1 -DNOMINMAX"
|
||
|
|
||
|
# Check for -fvisibility
|