view sources/patches/uClibc-fixm68k.patch @ 979:88b354c0eee1

Tweak mercurial repo entry and add link to current snapshot.
author Rob Landley <rob@landley.net>
date Tue, 16 Feb 2010 06:57:14 -0600
parents 4e798d7aa5f9
children 3a141d15c503
line wrap: on
line source

--- uClibc/Rules.mak	2008-09-28 02:10:20.000000000 -0500
+++ alt-uClibc/Rules.mak	2008-09-30 16:56:19.000000000 -0500
@@ -144,7 +144,11 @@
 # Flags in OPTIMIZATION are used only for non-debug builds
 OPTIMIZATION:=
 # Use '-Os' optimization if available, else use -O2, allow Config to override
+ifneq ($(TARGET_ARCH),alpha)
+ifneq ($(TARGET_ARCH),m68k)
 OPTIMIZATION+=$(call check_gcc,-Os,-O2)
+endif
+endif
 # Use the gcc 3.4 -funit-at-a-time optimization when available
 OPTIMIZATION+=$(call check_gcc,-funit-at-a-time,)