mesa/st/tests: Correct build flags and force -std=c++11
authorGert Wollny <gw.fossdev@gmail.com>
Wed, 13 Sep 2017 13:03:34 +0000 (15:03 +0200)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 15 Sep 2017 12:56:28 +0000 (13:56 +0100)
commitc75d78161046f34350467b53054ff4e9da7a5cdd
tree4cb225cb1ef4b5429bdacf85fbb358807b02ff2c
parent3c5fb7346fb6f6863b7bc775cf1cf720b4fc5748
mesa/st/tests: Correct build flags and force -std=c++11

Include src/gallium/Automake.inc, correct the build flags accordingly.

Force -std=c++11 (extensively used by the test) as otherwise it gets
defined only when building against llvm >= 3.9.

Fixes: 7be6d8fe12 ("mesa/st: glsl_to_tgsi: add tests for the new
temporary lifetime tracker")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102665
Reviewed-by: Emil Velikov <emil.velikov@collabora.com> (v1)
src/mesa/state_tracker/tests/Makefile.am