projects
/
browser-switch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
639b783
)
Optimize for N8x0 on armel builds, and use Thumb if requested
author
Steven Luo
<steven+maemo@steven676.net>
Sat, 19 Dec 2009 06:14:54 +0000
(22:14 -0800)
committer
Steven Luo
<steven+maemo@steven676.net>
Sat, 19 Dec 2009 06:14:54 +0000
(22:14 -0800)
debian/rules
patch
|
blob
|
history
diff --git
a/debian/rules
b/debian/rules
index
962a2e3
..
70bd2b9
100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-9,8
+9,14
@@
# 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 += -march=arm1136jf-s
+ # Use Thumb for smaller binaries if requested
+ ifneq (,$(filter thumb,$(DEB_BUILD_OPTIONS)))
+ EXTRA_CFLAGS += -mthumb
+ endif
+endif
configure: configure-stamp
configure-stamp: