author | Mike Hommey <mh+mozilla@glandium.org> |
Thu, 31 Mar 2016 18:11:19 +0900 | |
changeset 291102 | 04e7a688a7dff3813b4b391fe0e4a484f117a431 |
parent 291101 | 01b372afc3fc2d0bcd7aceede1c4f9b3c0180d01 |
child 291103 | e8c2eecfac918a8e0c0e8f9e0bb396d7d1502948 |
push id | 74459 |
push user | mh@glandium.org |
push date | Fri, 01 Apr 2016 00:44:15 +0000 |
treeherder | mozilla-inbound@e8c2eecfac91 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | nalexander |
bugs | 1260996 |
milestone | 48.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/build/autoconf/android.m4 +++ b/build/autoconf/android.m4 @@ -140,30 +140,16 @@ case "$target" in CXXFLAGS="-mandroid -fno-short-enums -fno-exceptions $CXXFLAGS" ASFLAGS="-idirafter $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 dnl undefined symbol (present on the hardware, just not in the dnl NDK.) LDFLAGS="-mandroid -L$android_platform/usr/lib -Wl,-rpath-link=$android_platform/usr/lib --sysroot=$android_platform -llog -Wl,--allow-shlib-undefined $LDFLAGS" - dnl prevent cross compile section from using these flags as host flags - if test -z "$HOST_CPPFLAGS" ; then - HOST_CPPFLAGS=" " - fi - if test -z "$HOST_CFLAGS" ; then - HOST_CFLAGS=" " - fi - if test -z "$HOST_CXXFLAGS" ; then - HOST_CXXFLAGS=" " - fi - if test -z "$HOST_LDFLAGS" ; then - HOST_LDFLAGS=" " - fi - ANDROID_NDK="${android_ndk}" ANDROID_TOOLCHAIN="${android_toolchain}" ANDROID_PLATFORM="${android_platform}" AC_DEFINE(ANDROID) AC_SUBST(ANDROID_NDK) AC_SUBST(ANDROID_TOOLCHAIN) AC_SUBST(ANDROID_PLATFORM)
--- a/build/autoconf/toolchain.m4 +++ b/build/autoconf/toolchain.m4 @@ -130,25 +130,16 @@ fi AC_MSG_RESULT([$HOST_CC]) AC_MSG_CHECKING([for host c++ compiler]) AC_CHECK_PROGS(HOST_CXX, c++ g++ clang++ cl, "") if test -z "$HOST_CXX"; then AC_MSG_ERROR([no acceptable c++ compiler found in \$PATH]) fi AC_MSG_RESULT([$HOST_CXX]) -if test -z "$HOST_CFLAGS"; then - HOST_CFLAGS="$CFLAGS" -fi -if test -z "$HOST_CXXFLAGS"; then - HOST_CXXFLAGS="$CXXFLAGS" -fi -if test -z "$HOST_LDFLAGS"; then - HOST_LDFLAGS="$LDFLAGS" -fi if test -z "$HOST_AR_FLAGS"; then HOST_AR_FLAGS="$AR_FLAGS" fi AC_CHECK_PROGS(HOST_RANLIB, $HOST_RANLIB ranlib, ranlib, :) AC_CHECK_PROGS(HOST_AR, $HOST_AR ar, ar, :) CC="$HOST_CC" CFLAGS="$HOST_CFLAGS" LDFLAGS="$HOST_LDFLAGS"
--- a/js/src/old-configure.in +++ b/js/src/old-configure.in @@ -97,30 +97,16 @@ if test -n "$gonkdir" ; then CPPFLAGS="-DANDROID $TARGET_C_INCLUDES -I$gonkdir/frameworks/base/native/include -I$gonkdir/system/core/include -isystem $gonkdir/bionic $CPPFLAGS -I$gonkdir/external/valgrind/fxos-include" CFLAGS="-mandroid -fno-short-enums -fno-exceptions $CFLAGS" CXXFLAGS="-mandroid -fno-short-enums -fno-exceptions $CXXFLAGS $STLPORT_CPPFLAGS" LIBS="$LIBS $STLPORT_LIBS" dnl Add -llog by default, since we use it all over the place. LDFLAGS="-mandroid -L$gonkdir/out/target/product/$GONK_PRODUCT/obj/lib -Wl,-rpath-link=$gonkdir/out/target/product/$GONK_PRODUCT/obj/lib --sysroot=$gonkdir/out/target/product/$GONK_PRODUCT/obj/ -llog $LDFLAGS" - dnl prevent cross compile section from using these flags as host flags - if test -z "$HOST_CPPFLAGS" ; then - HOST_CPPFLAGS=" " - fi - if test -z "$HOST_CFLAGS" ; then - HOST_CFLAGS=" " - fi - if test -z "$HOST_CXXFLAGS" ; then - HOST_CXXFLAGS=" " - fi - if test -z "$HOST_LDFLAGS" ; then - HOST_LDFLAGS=" " - fi - AC_DEFINE(ANDROID) AC_DEFINE(GONK) else MOZ_ANDROID_NDK fi case "$target" in *-apple-darwin*)
--- a/old-configure.in +++ b/old-configure.in @@ -188,30 +188,16 @@ if test -n "$gonkdir" ; then CPPFLAGS="-DANDROID $TARGET_C_INCLUDES -I$gonkdir/system -I$gonkdir/system/core/include -isystem $gonkdir/bionic -I$gonkdir/hardware/libhardware/include -I$gonkdir/external/valgrind/fxos-include $GONK_INCLUDES $CPPFLAGS" CFLAGS="-mandroid -fno-short-enums -fno-exceptions $CFLAGS" CXXFLAGS="-mandroid -fno-short-enums -fno-exceptions $CXXFLAGS $STLPORT_CPPFLAGS" dnl Add -llog by default, since we use it all over the place. LIBS="$LIBS -llog" LDFLAGS="-mandroid -L$gonkdir/out/target/product/$GONK_PRODUCT/obj/lib -Wl,-rpath-link=$gonkdir/out/target/product/$GONK_PRODUCT/obj/lib --sysroot=$gonkdir/out/target/product/$GONK_PRODUCT/obj/ $LDFLAGS" - dnl prevent cross compile section from using these flags as host flags - if test -z "$HOST_CPPFLAGS" ; then - HOST_CPPFLAGS=" " - fi - if test -z "$HOST_CFLAGS" ; then - HOST_CFLAGS=" " - fi - if test -z "$HOST_CXXFLAGS" ; then - HOST_CXXFLAGS=" " - fi - if test -z "$HOST_LDFLAGS" ; then - HOST_LDFLAGS=" " - fi - AC_DEFINE(ANDROID) AC_DEFINE_UNQUOTED(ANDROID_VERSION, $ANDROID_VERSION) AC_SUBST(ANDROID_VERSION) AC_DEFINE(HAVE_SYS_UIO_H) AC_DEFINE(HAVE_PTHREADS) MOZ_CHROME_FILE_FORMAT=omni direct_nspr_config=1 android_cxx_stl=mozstlport