# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # T2 SDE: package/.../embutils/build.patch # Copyright (C) 2004 - 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- T2-COPYRIGHT-NOTE-END --- Remove some unusal build system stuff, so that we can build it normally, linked against any libc ... - Rene Rebe --- ./Makefile~ 2006-11-05 12:06:06.000000000 +0100 +++ ./Makefile 2006-11-05 12:08:53.000000000 +0100 @@ -4,2 +4,4 @@ #DESTDIR=/tmp/fefix +CC=gcc +STRIP=strip # Set the following to use the diet libc @@ -37,4 +39,4 @@ @test -d $(OBJDIR) || mkdir $(OBJDIR) - $(DIET) $(CROSS)gcc $(CFLAGS) $(FLAGS) -c $< -o $@ - $(CROSS)strip -x -R .comment -R .note $@ + $(DIET) $(CROSS)$(CC) $(CFLAGS) $(FLAGS) -c $< -o $@ + $(CROSS)$(STRIP) -x -R .comment -R .note $@ @@ -42,7 +44,7 @@ @test -d $(OBJDIR) || mkdir $(OBJDIR) - $(DIET) $(CROSS)gcc -pipe -c $< -o $@ + $(DIET) $(CROSS)$(CC) -pipe -c $< -o $@ $(OBJDIR)/%: $(OBJDIR)/%.o - $(DIET) $(CROSS)gcc -o $@ $^ - $(CROSS)strip -R .note -R .comment $@ + $(DIET) $(CROSS)$(CC) -o $@ $^ + $(CROSS)$(STRIP) -R .note -R .comment $@