Mercurial > vanilla
changeset 373:909629b092a3
dev/gobject-introspection: honor CC in custom tools
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sun, 31 Mar 2019 18:36:42 +0200 |
parents | e045703b90cd |
children | 753a7822d20c |
files | dev/gobject-introspection/gobject-introspection.sh |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/dev/gobject-introspection/gobject-introspection.sh Sun Mar 31 18:27:39 2019 +0200 +++ b/dev/gobject-introspection/gobject-introspection.sh Sun Mar 31 18:36:42 2019 +0200 @@ -33,7 +33,6 @@ tar xvaf $PKGNAME-$PKGVERSION.tar.xz pushd $PKGNAME-$PKGVERSION - # TODO: g-ir-scanner does not honor CC/CFLAGS/LDFLAGS. CC="$CC" \ CFLAGS="$CFLAGS" \ LDFLAGS="$LDFLAGS" \ @@ -42,7 +41,7 @@ --buildtype release \ --default-library shared \ . build - ninja -C build + CC="$CC" ninja -C build DESTDIR=$DESTDIR ninja -C build install popd