Mercurial > hg > aboriginal
changeset 401:224a724868f3
Make the m68k internal compiler error go away.
author | Rob Landley <rob@landley.net> |
---|---|
date | Wed, 01 Oct 2008 16:35:56 -0500 |
parents | f60b1189c0ea |
children | c36ed884fda5 |
files | sources/patches/alt-uClibc-fixm68k.patch |
diffstat | 1 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/patches/alt-uClibc-fixm68k.patch Wed Oct 01 16:35:56 2008 -0500 @@ -0,0 +1,12 @@ +--- 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,9 @@ + # 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),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,) +