mirror of
https://github.com/rxrbln/t2sde.git
synced 2025-05-08 20:21:59 +08:00
15 lines
603 B
Plaintext
15 lines
603 B
Plaintext
# --- T2-COPYRIGHT-BEGIN ---
|
|
# t2/package/*/libelf/libelf.conf
|
|
# Copyright (C) 2021 - 2025 The T2 SDE Project
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
# --- T2-COPYRIGHT-END ---
|
|
|
|
if [ "$SDECFG_LIBC" = "uclibc" -o "$SDECFG_LIBC" = "musl" ]; then
|
|
hook_add preconf 8 "echo -e 'ac_cv_bad_fts=no\nac_cv_search_fts_close=no\nac_cv_search__obstack_free=yes' >> config.cache"
|
|
var_append patchfiles " " "$confdir/no-fts.diff"
|
|
fi
|
|
var_append confopt ' ' '--enable-elf64 --disable-debuginfod'
|
|
var_append makeinstopt ' ' "instroot=$root"
|
|
|
|
[ $arch = "microblaze" ] && var_append confopt ' ' '--disable-symbol-versioning'
|