view sources/patches/uClibc-fixm68k.patch @ 1328:08d92a215472

Albert Lee spotted that libnsl went away after 0.9.11 due to the baseconfig stuff dropping a uClibc symbol. Put it back.
author Rob Landley <rob@landley.net>
date Tue, 08 Feb 2011 12:11:04 -0600
parents 3a141d15c503
children
line wrap: on
line source

--- uClibc/Rules.mak	2010-04-02 10:34:27.000000000 -0500
+++ uClibc.bak/Rules.mak	2010-04-12 00:08:21.000000000 -0500
@@ -173,7 +173,9 @@
 
 OPTIMIZATION:=
 # Use '-Os' optimization if available, else use -O2, allow Config to override
+ifneq ($(TARGET_ARCH),m68k)
 OPTIMIZATION+=$(call check_gcc,-Os,-O2)
+endif
 # Use the gcc 3.4 -funit-at-a-time optimization when available
 OPTIMIZATION+=$(call check_gcc,-funit-at-a-time,)
 # shrinks code by about 0.1%