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