Lots of exported symbols removed because build now uses -fvisibility=hidden, one symbol added, no header changes. Disable the use of -Wvla for gcc archs. From Jan Stary (maintainer)
17 lines
835 B
Plaintext
17 lines
835 B
Plaintext
$OpenBSD: patch-configure,v 1.3 2018/04/23 08:48:54 jca Exp $
|
|
|
|
Some compilers don't have -Wvla
|
|
|
|
Index: configure
|
|
--- configure.orig
|
|
+++ configure
|
|
@@ -20828,7 +20828,7 @@ rm -f core conftest.err conftest.$ac_objext \
|
|
common_flags="-Wcast-align -Wcast-qual -Wshadow -Wwrite-strings -Wundef -Wuninitialized -Winit-self"
|
|
|
|
# -Winline -Wconversion "
|
|
- CFLAGS="$CFLAGS $common_flags -Wbad-function-cast -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Waggregate-return -Wvla"
|
|
+ CFLAGS="$CFLAGS $common_flags -Wbad-function-cast -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Waggregate-return"
|
|
CXXFLAGS="$CXXFLAGS $common_flags -Wctor-dtor-privacy -Wnon-virtual-dtor -Woverloaded-virtual -Wreorder -Wsign-promo"
|
|
|
|
if test "x$enable_gcc_opt" = "xno" ; then
|