The libgltf configure.ac script changes the autotools user variables CFLAGS and CXXFLAGS, which is not allowed and can overwrite user settings (which it does for the -D_GLIBCXX_DEBUG flag).
So this moves the special compile settings to seperate variables and passes them to AM_CXXFLAGS and AM_CPPFLAGS, so the library actually gets compiled with libstdc++ debug objects.
1f23cc1 Fix libgltf dbgutil build
external/libgltf/ExternalProject_libgltf.mk | 10 +-
external/libgltf/UnpackedTarball_libgltf.mk | 2 +
external/libgltf/patches/autoreconf_run.patch | 3867 ++++++++++++++++++++
external/libgltf/patches/fix_configure_flags.patch | 54 +
external/liborcus/ExternalProject_liborcus.mk | 2 +-
5 files changed, 3930 insertions(+), 5 deletions(-)
Upstream: cgit.freedesktop.org