aboutsummaryrefslogtreecommitdiff
path: root/mesalib/Android.common.mk
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-11-28 08:33:39 +0100
committermarha <marha@users.sourceforge.net>2011-11-28 08:33:39 +0100
commit7417e9a171736b5279881cd4381fb58c617a23d9 (patch)
treef5eefdba22232ed7549497c96e70f09ccf558988 /mesalib/Android.common.mk
parenta0b4a1330be6a36ad095222d2ea83927cd33514d (diff)
downloadvcxsrv-7417e9a171736b5279881cd4381fb58c617a23d9.tar.gz
vcxsrv-7417e9a171736b5279881cd4381fb58c617a23d9.tar.bz2
vcxsrv-7417e9a171736b5279881cd4381fb58c617a23d9.zip
mesa git update 28 nov 2011
Diffstat (limited to 'mesalib/Android.common.mk')
-rw-r--r--mesalib/Android.common.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/mesalib/Android.common.mk b/mesalib/Android.common.mk
index f28ddc2ef..e8b900697 100644
--- a/mesalib/Android.common.mk
+++ b/mesalib/Android.common.mk
@@ -21,6 +21,15 @@
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
+# use c99 compiler by default
+ifeq ($(LOCAL_CC),)
+ifeq ($(LOCAL_IS_HOST_MODULE),true)
+LOCAL_CC := $(HOST_CC) -std=c99
+else
+LOCAL_CC := $(TARGET_CC) -std=c99
+endif
+endif
+
LOCAL_C_INCLUDES += \
$(MESA_TOP)/include