patches/duma/2_5_1/100-cross-compile.patch
author Arnaud Lacombe <lacombar@gmail.com>
Thu Aug 05 17:59:51 2010 +0200 (2010-08-05)
changeset 2069 366bd2b22675
parent 236 42650dc4e95e
permissions -rw-r--r--
complibs/mpc: fix MPC 0.8.1 build with MPFR 3.0.0

This is the change introduced by revision 734 of MPC repository.

Author: Paul Zimmermann <Paul.Zimmermann@loria.fr>
Revision log: [acos.c] fixed problem with GMP_RNDA (should be MPFR_RNDA, and code was wrong)

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
     1 diff -dur duma_2_5_1/Makefile duma_2_5_1.orig/Makefile
     2 --- duma_2_5_1/Makefile	2006-06-18 06:02:13.000000000 +0200
     3 +++ duma_2_5_1.orig/Makefile	2007-07-11 17:49:43.000000000 +0200
     4 @@ -98,10 +98,6 @@
     5    LIBS=-lpthread
     6  endif
     7  
     8 -
     9 -CC=gcc
    10 -CXX=g++
    11 -AR=ar
    12  INSTALL=install
    13  
    14  ############################################################
    15 @@ -169,7 +165,7 @@
    16  
    17  createconf: createconf.o
    18  	- rm -f createconf
    19 -	$(CC) $(CFLAGS) $(DUMA_OPTIONS) createconf.o -o createconf
    20 +	$(HOSTCC) $(HOSTCFLAGS) $(DUMA_OPTIONS) createconf.o -o createconf
    21  
    22  tstheap: libduma.a tstheap.o
    23  	- rm -f tstheap
    24 @@ -211,7 +207,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  #