Disable CPU type optimization for Fremantle
authorSteven Luo <steven+maemo@steven676.net>
Sat, 19 Dec 2009 06:30:46 +0000 (22:30 -0800)
committerSteven Luo <steven+maemo@steven676.net>
Sat, 19 Dec 2009 06:30:46 +0000 (22:30 -0800)
The Fremantle toolchain automatically optimizes for N900/OMAP3, so
don't do it in EXTRA_CFLAGS.

debian/rules

index 201148e..59a3606 100755 (executable)
@@ -9,9 +9,8 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-# Optimize for N8x0 CPUs if building for armel
 ifeq ($(DEB_HOST_ARCH),armel)
-       EXTRA_CFLAGS += -mcpu=arm1136jf-s
+       #EXTRA_CFLAGS += -mcpu=arm1136jf-s
        # Use Thumb for smaller binaries if requested
        ifneq (,$(filter thumb,$(DEB_BUILD_OPTIONS)))
                EXTRA_CFLAGS += -mthumb