Ticket #1935: gcc-4.1.1-newmake-1.patch

File gcc-4.1.1-newmake-1.patch, 1.3 KB (added by Matthew Burgess, 18 years ago)
  • gcc-4.1.1/gcc/Makefile.in

    Submitted By: Alexander E. Patrakov
    Date: 2006-12-11
    Initial Package Version: 4.1.1
    Upstream Status: backported from gcc-4_2-branch
    Origin: backported from gcc-4_2-branch
    Description: Fixes incompatibility with Make-3.81,
    that would result in the following messages in the build log:
    
    echo | /lfs-livecd/packages/gcc/gcc-build/./gcc/xgcc -B/lfs-livecd/packages/gcc/gcc-build/./gcc/ -B/usr/i486-pc-linux-gnu/bin/ -B/usr/i486-pc-linux-gnu/lib/ -isystem /usr/i486-pc-linux-gnu/include -isystem /usr/i486-pc-linux-gnu/sys-include -E -dM - | \
              sed -n 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p ; \
                    s/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \
              sort -u > tmp-macro_list
    sed: -e expression #1, char 88: unterminated address regex
    
     
    31463209macro_list: s-macro_list; @true
    31473210s-macro_list : $(GCC_PASSES)
    31483211        echo | $(GCC_FOR_TARGET) -E -dM - | \
    3149           sed -n 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p ; \
    3150                 s/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \
     3212          sed -n -e 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p' \
     3213                 -e 's/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \
    31513214          sort -u > tmp-macro_list
    31523215        $(SHELL) $(srcdir)/../move-if-change tmp-macro_list macro_list
    31533216        $(STAMP) s-macro_list