Mercurial > hg > aboriginal
view sources/patches/uClibc-fixm68k.patch @ 1391:42ec661e3916
Fix BINARY_PACKAGE_TARBALLS generation: some packages produce no output (zlib used to build dropbear for example), and thus check for an empty list before trying to make a tarball.
author | Rob Landley <rob@landley.net> |
---|---|
date | Fri, 17 Jun 2011 13:00:17 -0500 |
parents | 71acb8c4611a |
children | 83de80c10db8 |
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%