patches/duma/2_5_15/100-cross-compile.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Aug 02 23:33:36 2009 +0200 (2009-08-02)
changeset 1436 3cfa075e88b3
parent 572 patches/duma/2_5_14/100-cross-compile.patch@944e145f3890
permissions -rw-r--r--
[debug-duma] Add latest versions

Add 2.5.15, propagate patchset from 2_5_14 up to 2_5_15.
     1 diff -durN duma_2_5_15.orig/GNUmakefile duma_2_5_15/GNUmakefile
     2 --- duma_2_5_15.orig/GNUmakefile	2008-08-03 21:22:38.000000000 +0200
     3 +++ duma_2_5_15/GNUmakefile	2009-06-19 15:32:23.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 @@ -471,7 +467,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 @@ -532,7 +528,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  #