Mercurial > hg > aboriginal
view sources/patches/uClibc-fixm68k.patch @ 1677:c11a357ea92d
Second attempt: make dynamic linker match libc in ccwrap.
Building uClibc requires the wrapper, so we can't have the wrapper look for
and _existing_ dynamic linker, so the wrapper script has to check the config.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 24 Aug 2014 22:23:05 -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)