From 380db973435bedaa512df8e5fd62bcaf4e2d4459 Mon Sep 17 00:00:00 2001 From: John Bowler Date: Wed, 3 Aug 2005 23:14:59 +0000 Subject: Make netpbm work by removing the use of built in sin and cos (not supported by uclibc). --- conf/machine/nslu2.conf | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'conf/machine') 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" -- cgit v1.2.3