patches/uClibc/0.9.33.2/100-m68k-ice.patch
author Johannes Stezenbach <js@sig21.net>
Tue Oct 30 00:36:20 2012 +0000 (2012-10-30)
changeset 3096 d1766c2273d1
permissions -rw-r--r--
scripts/functions: use patch -i instead of IO redirection

This makes the patch name show up on the command line
logged by CT_DoExecLog so it's easier to see
what is going on. The -i for patch is specified
by Posix and supported by GNU patch and busybox patch.

Signed-off-by: Johannes Stezenbach <js@sig21.net>
[yann.morin.1998@free.fr: remove now-useless debug message]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <20121030103620.GB8303@sig21.net>
Patchwork-Id: 195418
     1 diff -urN uClibc-0.9.33.2~orig/Rules.mak uClibc-0.9.33.2/Rules.mak
     2 --- uClibc-0.9.33.2~orig/Rules.mak	2012-05-15 09:20:09.000000000 +0200
     3 +++ uClibc-0.9.33.2/Rules.mak	2012-09-24 14:09:51.092953729 +0200
     4 @@ -226,6 +226,7 @@
     5  
     6  OPTIMIZATION:=
     7  # Use '-Os' optimization if available, else use -O2, allow Config to override
     8 +ifneq ($(TARGET_ARCH),m68k)
     9  $(eval $(call check-gcc-var,-Os))
    10  ifneq ($(CFLAG_-Os),)
    11  OPTIMIZATION += $(CFLAG_-Os)
    12 @@ -233,6 +234,7 @@
    13  $(eval $(call check-gcc-var,-O2))
    14  OPTIMIZATION += $(CFLAG_-O2)
    15  endif
    16 +endif
    17  # Use the gcc 3.4 -funit-at-a-time optimization when available
    18  $(eval $(call check-gcc-var,-funit-at-a-time))
    19  OPTIMIZATION += $(CFLAG_-funit-at-a-time)