Mercurial > hg > aboriginal
view sources/patches/uClibc-fixm68k.patch @ 1737:1acbe7e78d9d draft
Switch from bz2 to gz tarball output.
bz2 is slowly being replaced by lz variants, but gzip isn't going anywhere.
(It retains a niche as a streaming protocol, it's the 80/20 solution optimizing
for speed, low memory requirements, and simple compressor implementation.)
author | Rob Landley <rob@landley.net> |
---|---|
date | Fri, 20 Feb 2015 13:12:45 -0600 |
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)