blob: 55df9496a27aa6810b334b905e2e2d08f6215fab [file] [log] [blame]
# Copyright 2017 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
export glib_cv_have_qsort_r=yes
# The following ac_cv_alignof_* work around an issue in AC_CHECK_ALIGNOF,
# which fails under cross-compilation with newer gcc.
# See
# for more details.
# TODO(benchan,vapier): Remove the workaround after the AC_CHECK_ALIGNOF
# issue is fixed.
export ac_cv_alignof_guint32=4
export ac_cv_alignof_guint64=8
export ac_cv_alignof_unsigned_long=8
# gresource tool is used to debug ELF files that use GResource to store blobs
# in the binary file.
# glib-mkenums is a small tool to parse C code and generate enum descriptions in
# text format, used to produce C code that contains enum values as strings.
# Install them only on the host.
if [[ $(cros_target) != "cros_host" ]]; then
PKG_INSTALL_MASK+=" ${glib_mask}"
INSTALL_MASK+=" ${glib_mask}"
unset glib_mask