1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/glib/glib.conf
3 # Copyright (C) 2004 - 2021 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
12 if atstage toolchain; then
13 var_append SYSGCC_WRAPPER_APPEND " " "-I$root/include"
14 var_append mesonopt " " "-Dlibmount=disabled"
16 . $base/package/*/*/gnome-conf.in NO_SANITY_CHECK
19 cat > $root/etc/profile.d/gnome <<-EOT
20 export XDG_CONFIG_DIRS="\$XDG_CONFIG_DIRS\${XDG_CONFIG_DIRS:+:}$sysconfdir/xdg"
21 export XDG_DATA_DIRS="\$XDG_DATA_DIRS\${XDG_DATA_DIRS:+:}$datadir"
25 hook_add postmake 5 "xdg_pc"
28 [ $arch = sparc ] && var_append GCC_WRAPPER_APPEND ' ' '-c?:-latomic'
30 if atstage cross; then
31 var_append GCC_WRAPPER_APPEND " " "-c?:-lresolv"