glsl: Fix Android build
authorChad Versace <chad.versace@linux.intel.com>
Wed, 8 Feb 2012 23:07:33 +0000 (15:07 -0800)
committerChad Versace <chad.versace@linux.intel.com>
Wed, 8 Feb 2012 23:17:12 +0000 (15:17 -0800)
The build was broken by the line below, added in commit 4f82fed4.
  s_expression.cpp:26: #include <limits>

Mesa's half of the fix is to add 'external/astl/include' to the include
path. The other half of the fix requires implementing
numeric_limits<float>::infinity() in astl, for which I have patches
submitted upstream for review.

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
src/glsl/Android.mk

index 754f3ccedca3fbf7c39dfb1e91f6a7c38dc7a5e5..cf793d65e35e2dc06b0cafc21e0918eca23d28ce 100644 (file)
@@ -39,6 +39,7 @@ LOCAL_SRC_FILES := \
        $(LIBGLSL_CXX_FILES)
 
 LOCAL_C_INCLUDES := \
+       external/astl/include \
        $(MESA_TOP)/src/mapi \
        $(MESA_TOP)/src/mesa