зеркало из https://github.com/mozilla/gecko-dev.git
Bug 756745 - Add -DANDROID and include path to ASFLAGS when building for Android. r=ted
This commit is contained in:
Родитель
e0db93c657
Коммит
e0672070d1
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче