Bug 756745 - Add -DANDROID and include path to ASFLAGS when building for Android. r=ted

This commit is contained in:
Mike Hommey 2012-05-24 10:56:26 +02:00
Родитель e0db93c657
Коммит e0672070d1
2 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -369,6 +369,7 @@ case "$target" in
CPPFLAGS="-isystem $android_platform/usr/include $CPPFLAGS"
CFLAGS="-mandroid -fno-short-enums -fno-exceptions $CFLAGS"
CXXFLAGS="-mandroid -fno-short-enums -fno-exceptions $CXXFLAGS"
ASFLAGS="-isystem $android_platform/usr/include -DANDROID $ASFLAGS"
dnl Add -llog by default, since we use it all over the place.
dnl Add --allow-shlib-undefined, because libGLESv2 links to an

Просмотреть файл

@ -359,6 +359,7 @@ case "$target" in
CPPFLAGS="-isystem $android_platform/usr/include $CPPFLAGS"
CFLAGS="-mandroid -fno-short-enums -fno-exceptions $CFLAGS"
CXXFLAGS="-mandroid -fno-short-enums -fno-exceptions $CXXFLAGS"
ASFLAGS="-isystem $android_platform/usr/include -DANDROID $ASFLAGS"
dnl Add -llog by default, since we use it all over the place.
dnl Add --allow-shlib-undefined, because libGLESv2 links to an