| OLD | NEW |
| 1 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2011 The Native Client Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # Workaround for arm-gcc bug: | 5 # Workaround for arm-gcc bug: |
| 6 # https://code.google.com/p/nativeclient/issues/detail?id=3205 | 6 # https://code.google.com/p/nativeclient/issues/detail?id=3205 |
| 7 # TODO(sbc): remove this once the issue is fixed | 7 # TODO(sbc): remove this once the issue is fixed |
| 8 if [ "${NACL_ARCH}" = "arm" ]; then | 8 if [ "${NACL_ARCH}" = "arm" ]; then |
| 9 NACLPORTS_CPPFLAGS+=" -mfpu=vfp" | 9 NACLPORTS_CPPFLAGS+=" -mfpu=vfp" |
| 10 fi | 10 fi |
| 11 | 11 |
| 12 NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main" | 12 EnableCliMain |
| 13 NACLPORTS_LIBS+=" ${NACL_CLI_MAIN_LIB}" | |
| 14 | 13 |
| 15 EXECUTABLES="test/cairo-test-suite${NACL_EXEEXT}" | 14 EXECUTABLES="test/cairo-test-suite${NACL_EXEEXT}" |
| 16 | 15 |
| 17 # This is only necessary for pnacl | 16 # This is only necessary for pnacl |
| 18 export ax_cv_c_float_words_bigendian=no | 17 export ax_cv_c_float_words_bigendian=no |
| 19 | 18 |
| 20 # Enable the x backend | 19 # Enable the x backend |
| 21 EXTRA_CONFIGURE_ARGS+=" --with-x" | 20 EXTRA_CONFIGURE_ARGS+=" --with-x" |
| 22 EXTRA_CONFIGURE_ARGS+=" --enable-xlib=yes" | 21 EXTRA_CONFIGURE_ARGS+=" --enable-xlib=yes" |
| 23 EXTRA_CONFIGURE_ARGS+=" --enable-xlib-xrender=yes" | 22 EXTRA_CONFIGURE_ARGS+=" --enable-xlib-xrender=yes" |
| 24 # disable xcb | 23 # disable xcb |
| 25 EXTRA_CONFIGURE_ARGS+=" --disable-xcb" | 24 EXTRA_CONFIGURE_ARGS+=" --disable-xcb" |
| 26 EXTRA_CONFIGURE_ARGS+=" --disable-xlib-xcb" | 25 EXTRA_CONFIGURE_ARGS+=" --disable-xlib-xcb" |
| 27 EXTRA_CONFIGURE_ARGS+=" --disable-xcb-shm" | 26 EXTRA_CONFIGURE_ARGS+=" --disable-xcb-shm" |
| 28 # gobjects required for gdk-pixbuf -> gtk+ | 27 # gobjects required for gdk-pixbuf -> gtk+ |
| 29 EXTRA_CONFIGURE_ARGS+=" --enable-gobject=yes" | 28 EXTRA_CONFIGURE_ARGS+=" --enable-gobject=yes" |
| 30 EXTRA_CONFIGURE_ARGS+=" --enable-ft" | 29 EXTRA_CONFIGURE_ARGS+=" --enable-ft" |
| 31 | 30 |
| 32 export ac_cv_func_XRenderCreateLinearGradient=yes | 31 export ac_cv_func_XRenderCreateLinearGradient=yes |
| 33 export ac_cv_func_XRenderCreateRadialGradient=yes | 32 export ac_cv_func_XRenderCreateRadialGradient=yes |
| 34 export ac_cv_func_XRenderCreateConicalGradient=yes | 33 export ac_cv_func_XRenderCreateConicalGradient=yes |
| OLD | NEW |