view sources/patches/uClibc-fixm68k.patch @ 1684:7b4566efd8bd draft 1.2.8

Silence some asynchronous messages linux produces on top of the shell prompt.
author Rob Landley <rob@landley.net>
date Sun, 07 Sep 2014 10:39:51 -0500
parents 83de80c10db8
children
line wrap: on
line source

Avoid an internal compiler error in inet_ntoa.c for m68k.

--- uClibc.bak/Rules.mak	2012-04-11 12:04:21.000000000 -0500
+++ uClibc/Rules.mak	2012-04-18 23:56:18.746334332 -0500
@@ -226,6 +226,7 @@
 
 OPTIMIZATION:=
 # Use '-Os' optimization if available, else use -O2, allow Config to override
+ifneq ($(TARGET_ARCH),m68k)
 $(eval $(call check-gcc-var,-Os))
 ifneq ($(CFLAG_-Os),)
 OPTIMIZATION += $(CFLAG_-Os)
@@ -233,6 +234,7 @@
 $(eval $(call check-gcc-var,-O2))
 OPTIMIZATION += $(CFLAG_-O2)
 endif
+endif
 # Use the gcc 3.4 -funit-at-a-time optimization when available
 $(eval $(call check-gcc-var,-funit-at-a-time))
 OPTIMIZATION += $(CFLAG_-funit-at-a-time)