Mercurial > hg > aboriginal
annotate sources/patches/uClibc-fixm68k.patch @ 680:924527b0b454
Fix ppc bios, this is the one from qemu svn 6657.
author | Rob Landley <rob@landley.net> |
---|---|
date | Mon, 30 Mar 2009 04:50:02 -0500 |
parents | f3df264b45a0 |
children | 4e798d7aa5f9 |
rev | line source |
---|---|
401
224a724868f3
Make the m68k internal compiler error go away.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
1 --- uClibc/Rules.mak 2008-09-28 02:10:20.000000000 -0500 |
224a724868f3
Make the m68k internal compiler error go away.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
2 +++ alt-uClibc/Rules.mak 2008-09-30 16:56:19.000000000 -0500 |
224a724868f3
Make the m68k internal compiler error go away.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
3 @@ -144,7 +144,9 @@ |
224a724868f3
Make the m68k internal compiler error go away.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
4 # Flags in OPTIMIZATION are used only for non-debug builds |
224a724868f3
Make the m68k internal compiler error go away.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
5 OPTIMIZATION:= |
224a724868f3
Make the m68k internal compiler error go away.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
6 # Use '-Os' optimization if available, else use -O2, allow Config to override |
224a724868f3
Make the m68k internal compiler error go away.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
7 +ifneq ($(TARGET_ARCH),m68k) |
224a724868f3
Make the m68k internal compiler error go away.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
8 OPTIMIZATION+=$(call check_gcc,-Os,-O2) |
224a724868f3
Make the m68k internal compiler error go away.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
9 +endif |
224a724868f3
Make the m68k internal compiler error go away.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
10 # Use the gcc 3.4 -funit-at-a-time optimization when available |
224a724868f3
Make the m68k internal compiler error go away.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
11 OPTIMIZATION+=$(call check_gcc,-funit-at-a-time,) |
224a724868f3
Make the m68k internal compiler error go away.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
12 |