summaryrefslogtreecommitdiff
path: root/package/fontconfig/fontconfig-2.6.0-use_for_build.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-12-22 22:10:25 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-12-22 22:10:25 +0000
commit45fcf7e8ff73681b6680110091433ee6ac3c9651 (patch)
treeb2f9db668b07358b543128fa0c460897b125c201 /package/fontconfig/fontconfig-2.6.0-use_for_build.patch
parent2cdd2d9fc2f774ee7e796af8786b8997230d0179 (diff)
fontconfig: use {C,LD}FLAGS_FOR_BUILD for host tools
Diffstat (limited to 'package/fontconfig/fontconfig-2.6.0-use_for_build.patch')
-rw-r--r--package/fontconfig/fontconfig-2.6.0-use_for_build.patch59
1 files changed, 59 insertions, 0 deletions
diff --git a/package/fontconfig/fontconfig-2.6.0-use_for_build.patch b/package/fontconfig/fontconfig-2.6.0-use_for_build.patch
new file mode 100644
index 000000000..cdf9056fe
--- /dev/null
+++ b/package/fontconfig/fontconfig-2.6.0-use_for_build.patch
@@ -0,0 +1,59 @@
+---
+ fc-arch/Makefile.am | 2 +-
+ fc-case/Makefile.am | 2 +-
+ fc-glyphname/Makefile.am | 2 +-
+ fc-lang/Makefile.am | 2 +-
+ 4 files changed, 4 insertions(+), 4 deletions(-)
+
+Index: fontconfig-2.6.0/fc-arch/Makefile.am
+===================================================================
+--- fontconfig-2.6.0.orig/fc-arch/Makefile.am
++++ fontconfig-2.6.0/fc-arch/Makefile.am
+@@ -24,7 +24,7 @@
+
+ CC = @CC_FOR_BUILD@
+ EXEEXT = @EXEEXT_FOR_BUILD@
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(AM_LDFLAGS) $(LDFLAGS_FOR_BUILD) -o $@
+
+ INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(WARN_CFLAGS)
+
+Index: fontconfig-2.6.0/fc-case/Makefile.am
+===================================================================
+--- fontconfig-2.6.0.orig/fc-case/Makefile.am
++++ fontconfig-2.6.0/fc-case/Makefile.am
+@@ -24,7 +24,7 @@
+
+ CC = @CC_FOR_BUILD@
+ EXEEXT = @EXEEXT_FOR_BUILD@
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(AM_LDFLAGS) $(LDFLAGS_FOR_BUILD) -o $@
+
+ INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(WARN_CFLAGS)
+
+Index: fontconfig-2.6.0/fc-glyphname/Makefile.am
+===================================================================
+--- fontconfig-2.6.0.orig/fc-glyphname/Makefile.am
++++ fontconfig-2.6.0/fc-glyphname/Makefile.am
+@@ -24,7 +24,7 @@
+
+ CC = @CC_FOR_BUILD@
+ EXEEXT = @EXEEXT_FOR_BUILD@
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(AM_LDFLAGS) $(LDFLAGS_FOR_BUILD) -o $@
+
+ INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(WARN_CFLAGS)
+
+Index: fontconfig-2.6.0/fc-lang/Makefile.am
+===================================================================
+--- fontconfig-2.6.0.orig/fc-lang/Makefile.am
++++ fontconfig-2.6.0/fc-lang/Makefile.am
+@@ -24,7 +24,7 @@
+
+ CC = @CC_FOR_BUILD@
+ EXEEXT = @EXEEXT_FOR_BUILD@
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(AM_LDFLAGS) $(LDFLAGS_FOR_BUILD) -o $@
+
+ INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(WARN_CFLAGS)
+