about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-03-11T20·56+0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-03-11T20·56+0000
commit13cce8ec45fd59bd8a1f1101a92576796cba97d2 (patch)
tree16f26bcb00283ae39acb21a445b397b66b6b20f2 /src
parent05e15049a5f42ca7222c7557d7257352fe711d2e (diff)
Making 'bin2c' to be built with the compiler for the local system.
I copied the configure.ac code about CC_FOR_BUILD from libX11.


Diffstat (limited to 'src')
-rw-r--r--src/bin2c/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bin2c/Makefile.am b/src/bin2c/Makefile.am
index bdd58808a159..f5f118d052d4 100644
--- a/src/bin2c/Makefile.am
+++ b/src/bin2c/Makefile.am
@@ -1,3 +1,6 @@
 noinst_PROGRAMS = bin2c
 
 bin2c_SOURCES = bin2c.c
+
+bin2c: bin2c.c
+       $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -o bin2c bin2c.c