[vlc-devel] [PATCH v2 09/18] configure: Enable extended C++11 support

Dennis Hamester dennis.hamester at startmail.com
Mon Mar 13 11:11:43 CET 2017


From: Julian Scheel <julian at jusst.de>

VLC uses posix_memalign, which in newlib is not implemented for strict
ansi builds.

Signed-off-by: Julian Scheel <julian at jusst.de>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index eb7bc0fb0c..0d1ab88498 100644
--- a/configure.ac
+++ b/configure.ac
@@ -79,7 +79,7 @@ dnl Check for compiler properties
 AC_C_CONST
 AC_C_INLINE
 AC_C_RESTRICT
-AX_CXX_COMPILE_STDCXX_11(noext, mandatory)
+AX_CXX_COMPILE_STDCXX_11(ext, mandatory)
 
 dnl Extend the --help string at the current spot.
 AC_DEFUN([EXTEND_HELP_STRING], [m4_divert_once([HELP_ENABLE], [$1])])
-- 
2.12.0



More information about the vlc-devel mailing list