glib: Use the installed toolchain also for CXX.
authorWerner Koch <wk@gnupg.org>
Wed, 24 Apr 2013 19:18:21 +0000 (21:18 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 24 Apr 2013 19:18:21 +0000 (21:18 +0200)
* src/Makefile.am (gpg4win_pkg_glib_configure): Replace hardwired CCC
value.  This is a cosmetic change CCC is only used by regression
tests.

src/Makefile.am

index 0f5b740..ef75916 100644 (file)
@@ -119,7 +119,7 @@ gpg4win_spkgs = glib libffi gdk-pixbuf gtk+ \
 
 gpg4win_pkg_glib_configure = \
   --with-lib-prefix=$(idir) --with-libiconv-prefix=$(idir) \
-  CPPFLAGS=-I$(idir)/include LDFLAGS=-L$(idir)/lib CCC=i586-mingw32msvc-g++
+  CPPFLAGS=-I$(idir)/include LDFLAGS=-L$(idir)/lib CCC=$(host)-g++
 gpg4win_pkg_glib_extracflags = -march=i486
 
 gpg4win_pkg_gdk_pixbuf_configure = \