# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/embutils/hotfix.patch # Copyright (C) 2004 - 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-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 $@