gallium/auxiliary: Fix Autotools on Android (v2)
authorChad Versace <chadversary@chromium.org>
Wed, 25 Jul 2018 00:41:44 +0000 (17:41 -0700)
committerChad Versace <chadversary@chromium.org>
Fri, 27 Jul 2018 18:35:56 +0000 (11:35 -0700)
commit7953399e599862769bc29f5f98322adbcf6c3951
treed92032d1cf6c0fa041264ae3237bc0286b09ee58
parenta5889d70f2074201ceaeac4f96a9a0c0b1f68a31
gallium/auxiliary: Fix Autotools on Android (v2)

Problem 1: u_debug_stack_android.cpp transitively included
"pipe/p_compiler.h", but src/gallium/include was missing from the C++
include path.

Problem 2: Add -std=c++11 to AM_CXXFLAGS. Android's libbacktrace headers
require C++11, but the Android toolchain (at least in the Chrome OS SDK)
does not enable C++11 by default.

v2: Add -std=c++11.

Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Cc: Eric Engestrom <eric.engestrom@intel.com>
src/gallium/auxiliary/Makefile.am