patches/duma/2_5_14/100-cross-compile.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Jul 26 15:12:33 2008 +0000 (2008-07-26)
branch1.2
changeset 730 823ac8f8e9fd
permissions -rw-r--r--
Backport #849 from trunk:
Remove garbage files left behind by downloads from sourceforge.net.

/branches/1.2/scripts/build/debug/500-strace.sh | 4 4 0 0 ++++
/branches/1.2/scripts/build/debug/200-duma.sh | 5 4 1 0 ++++-
2 files changed, 8 insertions(+), 1 deletion(-)
     1 diff -durN duma_2_5_14.orig/Makefile duma_2_5_14/Makefile
     2 --- duma_2_5_14.orig/Makefile	2008-03-13 00:54:10.000000000 +0100
     3 +++ duma_2_5_14/Makefile	2008-06-17 10:28:45.000000000 +0200
     4 @@ -93,10 +93,6 @@
     5  # also define 'WIN32'
     6  
     7  # some defaults:
     8 -CC=gcc
     9 -CXX=g++
    10 -AR=ar
    11 -RANLIB=ranlib
    12  INSTALL=install
    13  RM=rm
    14  RMFORCE=rm -f
    15 @@ -317,7 +313,7 @@
    16  
    17  createconf$(EXEPOSTFIX): createconf.o
    18  	- $(RMFORCE) createconf$(EXEPOSTFIX)
    19 -	$(CC) $(CFLAGS) $(DUMA_OPTIONS) createconf.o -o createconf$(EXEPOSTFIX)
    20 +	$(HOSTCC) $(HOSTCFLAGS) $(DUMA_OPTIONS) createconf.o -o createconf$(EXEPOSTFIX)
    21  
    22  tstheap$(EXEPOSTFIX): libduma.a tstheap.o
    23  	- $(RMFORCE) tstheap$(EXEPOSTFIX)
    24 @@ -378,7 +374,7 @@
    25  # define rules how to build objects for createconf
    26  #
    27  createconf.o:
    28 -	$(CC) $(CFLAGS) $(DUMA_OPTIONS) -c createconf.c -o $@
    29 +	$(HOSTCC) $(HOSTCFLAGS) $(DUMA_OPTIONS) -c createconf.c -o $@
    30  
    31  
    32  #