When cross-compiling, this is build using `$(build_CC)' because it needs
authorMartin Baulig <martin@home-of-linux.org>
Mon, 8 Jun 1998 00:12:50 +0000 (00:12 +0000)
committerMartin Baulig <martin@src.gnome.org>
Mon, 8 Jun 1998 00:12:50 +0000 (00:12 +0000)
1998-06-08  Martin Baulig  <martin@home-of-linux.org>

* Makefile.am (gnomesupport-h): When cross-compiling, this
is build using `$(build_CC)' because it needs to run on the
build system. Look at gnome-libs/configure.in to see how to
get `build_CC'.

svn path=/trunk/; revision=242

support/ChangeLog
support/Makefile.am

index 3b33b8c..7c6bb69 100644 (file)
@@ -1,3 +1,10 @@
+1998-06-08  Martin Baulig  <martin@home-of-linux.org>
+
+       * Makefile.am (gnomesupport-h): When cross-compiling, this
+       is build using `$(build_CC)' because it needs to run on the
+       build system. Look at gnome-libs/configure.in to see how to
+       get `build_CC'.
+
 Thu May 21 21:21:12 1998  Tom Tromey  <tromey@cygnus.com>
 
        * gnome-argp.h: Unconditionally declare program_invocation_name
index 78639bc..394492d 100644 (file)
@@ -5,6 +5,10 @@ supportincludedir = $(pkglibdir)/include
 if BUILD_GNOME_SUPPORT
 INCLUDES = -D_GNU_SOURCE
 
+if CROSS_COMPILING
+CC = $(build_CC)
+endif
+
 lib_LTLIBRARIES = libgnomesupport.la
 
 supportinclude_HEADERS = gnome-argp.h getopt.h long-options.h argp.h