Skip to content
Snippets Groups Projects
Commit 0827ce88 authored by Colin Walters's avatar Colin Walters Committed by Zeeshan Ali Khan
Browse files

lib: Define CC and other variables for g-ir-scanner

This ensures g-ir-scanner uses the configured compiler.  Fixes the
build in GContinuous, which is currently somewhat broken in that
`/usr/bin/cc` is a cross compiler by default.  But this propagation is
the correct thing to do always.

A similar patch landed in GStreamer.
parent 88f3ade6
No related branches found
No related tags found
No related merge requests found
......@@ -87,7 +87,13 @@ typelibsdir = $(libdir)/girepository-1.0
typelibs_DATA = Geoclue-2.0.typelib
Geoclue-2.0.gir: $(libgeoclue_2_la_SOURCES) $(geoclue_include_HEADERS)
$(AM_V_GEN)$(INTROSPECTION_SCANNER) -v \
$(AM_V_GEN) env CPPFLAGS="$(CPPFLAGS)" \
CFLAGS="$(CFLAGS)" \
LDFLAGS="$(LDFLAGS)" \
CC="$(CC)" \
PKG_CONFIG="$(PKG_CONFIG)" \
DLLTOOL="$(DLLTOOL)" \
$(INTROSPECTION_SCANNER) -v \
--warn-all \
--namespace Geoclue \
--identifier-prefix=GClue \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment