80 lines
3.3 KiB
Diff
80 lines
3.3 KiB
Diff
diff -ur mozilla-release.orig//configure.in mozilla-release/configure.in
|
|
--- mozilla-release.orig//configure.in 2011-07-17 13:44:12.000000000 +0200
|
|
+++ mozilla-release/configure.in 2011-07-17 13:46:50.000000000 +0200
|
|
@@ -7165,9 +7165,6 @@
|
|
if test "$GNU_CC"; then
|
|
AC_DEFINE(MOZ_THUMB2)
|
|
AC_DEFINE(MOZ_ARM_ARCH)
|
|
- CFLAGS="$CFLAGS -march=armv7-a -mthumb -mfloat-abi=softfp $MOZ_ARM_VFP_FLAGS"
|
|
- CXXFLAGS="$CXXFLAGS -march=armv7-a -mthumb -mfloat-abi=softfp $MOZ_ARM_VFP_FLAGS"
|
|
- ASFLAGS="$ASFLAGS -march=armv7-a -mthumb -mfloat-abi=softfp $MOZ_ARM_VFP_FLAGS"
|
|
else
|
|
AC_MSG_ERROR([--enable-thumb2 is not supported for non-GNU toolchains])
|
|
fi
|
|
@@ -7181,9 +7178,6 @@
|
|
arm*)
|
|
if test "$GNU_CC"; then
|
|
AC_DEFINE(MOZ_ARM_ARCH)
|
|
- CFLAGS="$CFLAGS -march=armv7-a -marm -mfloat-abi=softfp $MOZ_ARM_VFP_FLAGS"
|
|
- CXXFLAGS="$CXXFLAGS -march=armv7-a -marm -mfloat-abi=softfp $MOZ_ARM_VFP_FLAGS"
|
|
- ASFLAGS="$ASFLAGS -march=armv7-a -marm -mfloat-abi=softfp $MOZ_ARM_VFP_FLAGS"
|
|
else
|
|
AC_MSG_ERROR([--with-cpu-arch=armv7 is not supported for non-GNU toolchains])
|
|
fi
|
|
@@ -7192,16 +7186,6 @@
|
|
AC_MSG_ERROR([--with-cpu-arch=armv7 is not supported for non-ARM CPU architectures])
|
|
;;
|
|
esac
|
|
-else
|
|
- case "$target_cpu" in
|
|
- arm*)
|
|
- if test "$GNU_CC"; then
|
|
- CFLAGS="$CFLAGS -march=armv5te -mthumb-interwork -msoft-float"
|
|
- CXXFLAGS="$CXXFLAGS -march=armv5te -mthumb-interwork -msoft-float"
|
|
- ASFLAGS="$ASFLAGS -march=armv5te -mthumb-interwork -msoft-float"
|
|
- fi
|
|
- ;;
|
|
- esac
|
|
fi
|
|
|
|
AC_SUBST(MOZ_THUMB2)
|
|
diff -ur mozilla-release.orig//js/src/configure.in mozilla-release/js/src/configure.in
|
|
--- mozilla-release.orig//js/src/configure.in 2011-07-17 13:43:42.000000000 +0200
|
|
+++ mozilla-release/js/src/configure.in 2011-07-17 13:47:39.000000000 +0200
|
|
@@ -4607,9 +4607,6 @@
|
|
if test "$GNU_CC"; then
|
|
AC_DEFINE(MOZ_THUMB2)
|
|
AC_DEFINE(MOZ_ARM_ARCH)
|
|
- CFLAGS="$CFLAGS -march=armv7-a -mthumb -mfloat-abi=softfp $MOZ_ARM_VFP_FLAGS"
|
|
- CXXFLAGS="$CXXFLAGS -march=armv7-a -mthumb -mfloat-abi=softfp $MOZ_ARM_VFP_FLAGS"
|
|
- ASFLAGS="$ASFLAGS -march=armv7-a -mthumb -mfloat-abi=softfp $MOZ_ARM_VFP_FLAGS"
|
|
else
|
|
AC_MSG_ERROR([--enable-thumb2 is not supported for non-GNU toolchains])
|
|
fi
|
|
@@ -4623,9 +4620,6 @@
|
|
arm*)
|
|
if test "$GNU_CC"; then
|
|
AC_DEFINE(MOZ_ARM_ARCH)
|
|
- CFLAGS="$CFLAGS -march=armv7-a -marm -mfloat-abi=softfp $MOZ_ARM_VFP_FLAGS"
|
|
- CXXFLAGS="$CXXFLAGS -march=armv7-a -marm -mfloat-abi=softfp $MOZ_ARM_VFP_FLAGS"
|
|
- ASFLAGS="$ASFLAGS -march=armv7-a -marm -mfloat-abi=softfp $MOZ_ARM_VFP_FLAGS"
|
|
else
|
|
AC_MSG_ERROR([--with-cpu-arch=armv7 is not supported for non-GNU toolchains])
|
|
fi
|
|
@@ -4634,16 +4628,6 @@
|
|
AC_MSG_ERROR([--with-cpu-arch=armv7 is not supported for non-ARM CPU architectures])
|
|
;;
|
|
esac
|
|
-else
|
|
- case "$target_cpu" in
|
|
- arm*)
|
|
- if test "$GNU_CC"; then
|
|
- CFLAGS="$CFLAGS -march=armv5te -mthumb-interwork -msoft-float"
|
|
- CXXFLAGS="$CXXFLAGS -march=armv5te -mthumb-interwork -msoft-float"
|
|
- ASFLAGS="$ASFLAGS -march=armv5te -mthumb-interwork -msoft-float"
|
|
- fi
|
|
- ;;
|
|
- esac
|
|
fi
|
|
|
|
AC_SUBST(MOZ_THUMB2)
|