Skip to content

Commit 3f69832

Browse files
committed
external_deps: do not cross-compile pkgconfig
Do not cross-compile pkgconfig, it is part of the cross-compilation toolchain.
1 parent 0a62804 commit 3f69832

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

external_deps/build.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,12 @@ build_pkgconfig() {
262262

263263
cd "${dir_name}"
264264

265-
CFLAGS="${CFLAGS} -Wno-error=int-conversion" \
265+
# Reset the environment variables, we don't cross-compile this,
266+
# it is part of the cross-compilation toolchain.
267+
# CXXFLAGS is unused.
268+
CFLAGS='-Wno-error=int-conversion' \
269+
LDFLAGS='' \
270+
HOST='' \
266271
configure_build \
267272
--with-internal-glib
268273
}

0 commit comments

Comments
 (0)