pineapple-src/externals/vcpkg/ports/libwandio/configure.patch

15 lines
490 B
Diff
Raw Normal View History

2022-07-22 21:01:36 -04:00
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