Fix compatibility with musl libc / Alpine Linux (#3845)
This commit is contained in:
parent
c039a5229d
commit
78fe77db0f
|
|
@ -355,7 +355,7 @@ AC_SUBST(CFG_CXXFLAGS_PROFILE)
|
||||||
#_MY_CXX_CHECK_SET(CFG_CXXFLAGS_STD_NEWEST,-std=gnu++20)
|
#_MY_CXX_CHECK_SET(CFG_CXXFLAGS_STD_NEWEST,-std=gnu++20)
|
||||||
#_MY_CXX_CHECK_SET(CFG_CXXFLAGS_STD_NEWEST,-std=c++20)
|
#_MY_CXX_CHECK_SET(CFG_CXXFLAGS_STD_NEWEST,-std=c++20)
|
||||||
case "$(which lsb_release 2>&1 > /dev/null && lsb_release -d)" in
|
case "$(which lsb_release 2>&1 > /dev/null && lsb_release -d)" in
|
||||||
*Arch*Linux* | *Ubuntu*22.04*)
|
*Alpine*Linux* | *Arch*Linux* | *Ubuntu*22.04*)
|
||||||
_MY_CXX_CHECK_SET(CFG_CXXFLAGS_STD_NEWEST,-std=gnu++17)
|
_MY_CXX_CHECK_SET(CFG_CXXFLAGS_STD_NEWEST,-std=gnu++17)
|
||||||
_MY_CXX_CHECK_SET(CFG_CXXFLAGS_STD_NEWEST,-std=c++17)
|
_MY_CXX_CHECK_SET(CFG_CXXFLAGS_STD_NEWEST,-std=c++17)
|
||||||
;;
|
;;
|
||||||
|
|
|
||||||
|
|
@ -118,6 +118,7 @@ Sergi Granell
|
||||||
Stefan Wallentowitz
|
Stefan Wallentowitz
|
||||||
Stephen Henry
|
Stephen Henry
|
||||||
Steven Hugg
|
Steven Hugg
|
||||||
|
Sören Tempel
|
||||||
Teng Huang
|
Teng Huang
|
||||||
Tim Snyder
|
Tim Snyder
|
||||||
Tobias Rosenkranz
|
Tobias Rosenkranz
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,7 @@
|
||||||
#if defined(_WIN32) || defined(__MINGW32__)
|
#if defined(_WIN32) || defined(__MINGW32__)
|
||||||
# include <direct.h> // mkdir
|
# include <direct.h> // mkdir
|
||||||
#endif
|
#endif
|
||||||
#ifdef __linux__
|
#ifdef __GLIBC__
|
||||||
# include <execinfo.h>
|
# include <execinfo.h>
|
||||||
# define _VL_HAVE_STACKTRACE
|
# define _VL_HAVE_STACKTRACE
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue