From: Steven Luo Date: Fri, 28 May 2010 08:21:37 +0000 (-0700) Subject: Don't build with -mthumb on Fremantle X-Git-Tag: fremantle-package-3.2-2fremantle1~4 X-Git-Url: http://git.maemo.org/git/?p=browser-switch;a=commitdiff_plain;h=1714602dd2d50718f4a5361a17cba7d41e814056;hp=0fef31e035bda526f0d4948aaaca05d429ff0a4a Don't build with -mthumb on Fremantle Using Thumb instructions causes browser-switchboard to crash with SIGILL on Fremantle PR1.2 devices, presumably due to some combination of kernel and toolchain bugs, so disable the use of Thumb for now. Thanks to Uwe Kaminski (jukey) and Fred Farber (ffarber) for providing details on this bug. --- diff --git a/debian/rules b/debian/rules index 1ccb8ed..358cfd6 100755 --- a/debian/rules +++ b/debian/rules @@ -9,13 +9,13 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -ifeq ($(DEB_HOST_ARCH),armel) +#ifeq ($(DEB_HOST_ARCH),armel) #EXTRA_CFLAGS += -mcpu=arm1136jf-s # Use Thumb for smaller binaries unless otherwise requested - ifeq (,$(filter nothumb,$(DEB_BUILD_OPTIONS))) - EXTRA_CFLAGS += -mthumb - endif -endif + #ifeq (,$(filter nothumb,$(DEB_BUILD_OPTIONS))) + # EXTRA_CFLAGS += -mthumb + #endif +#endif configure: configure-stamp configure-stamp: