* updated kmousetool (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / base / embutils / hotfix.patch
blob71e905bf17d086c5a5ed5390f910c997d8fdc7af
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../embutils/build.patch
5 # Copyright (C) 2004 - 2006 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
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
14 # version.
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
24 @@ -4,2 +4,4 @@
25 #DESTDIR=/tmp/fefix
26 +CC=gcc
27 +STRIP=strip
28 # Set the following to use the diet libc
29 @@ -37,4 +39,4 @@
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 $@
36 @@ -42,7 +44,7 @@
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 $@