summaryrefslogtreecommitdiff
path: root/conf/machine
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2005-08-03 23:14:59 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-03 23:14:59 +0000
commit380db973435bedaa512df8e5fd62bcaf4e2d4459 (patch)
treefb6322178ceec7a816baa3f417484b34080af8fb /conf/machine
parentfaa3ea865bbec5433bcc950fae04d7554de7ba33 (diff)
Make netpbm work by removing the use of built in sin and cos (not supported
by uclibc).
Diffstat (limited to 'conf/machine')
-rw-r--r--conf/machine/nslu2.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/machine/nslu2.conf b/conf/machine/nslu2.conf
index 3beac45143..83849396b2 100644
--- a/conf/machine/nslu2.conf
+++ b/conf/machine/nslu2.conf
@@ -27,6 +27,10 @@ PACKAGE_ARCH = "armeb"
# values are.)
FULL_OPTIMIZATION = "-fomit-frame-pointer -frename-registers -fweb -funit-at-a-time -Os"
+# uClibc does not include sinf or cosf, so the gcc auto-use of
+# these functions must be disabled (this only occurs with -O)
+FULL_OPTIMIZATION_append_linux-uclibc = " -fno-builtin-sin -fno-builtin-cos"
+
SERIAL_CONSOLE = "115200 ttyS0"
KERNEL_CONSOLE = "ttyS0,115200n8"
USE_VT = "0"