mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-12 07:26:58 +02:00
eclass/xorg-3: Sync with Gentoo
It's from Gentoo commit fae3e3b3eeec2d252ad42afeba11ac8ffeb70c42.
This commit is contained in:
parent
3ed40b2c26
commit
6368c7a245
@ -273,21 +273,11 @@ xorg-3_src_unpack() {
|
||||
xorg-3_reconf_source() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
|
||||
case ${CHOST} in
|
||||
*-aix* | *-winnt*)
|
||||
# some hosts need full eautoreconf
|
||||
[[ -e "./configure.ac" || -e "./configure.in" ]] \
|
||||
&& XORG_EAUTORECONF=yes
|
||||
;;
|
||||
*)
|
||||
# elibtoolize required for BSD
|
||||
[[ ${XORG_EAUTORECONF} != no && ( -e "./configure.ac" || -e "./configure.in" ) ]] \
|
||||
&& XORG_EAUTORECONF=yes
|
||||
;;
|
||||
esac
|
||||
|
||||
[[ ${XORG_EAUTORECONF} != no ]] && eautoreconf
|
||||
if [[ ${XORG_EAUTORECONF} != no ]] ; then
|
||||
eautoreconf
|
||||
else
|
||||
elibtoolize --patch-only
|
||||
fi
|
||||
}
|
||||
|
||||
# @FUNCTION: xorg-3_src_prepare
|
||||
@ -326,9 +316,6 @@ xorg-3_font_configure() {
|
||||
xorg-3_flags_setup() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
|
||||
# Win32 require special define
|
||||
[[ ${CHOST} == *-winnt* ]] && append-cppflags -DWIN32 -D__STDC__
|
||||
|
||||
# Hardened flags break module autoloading et al (also fixes #778494)
|
||||
if [[ ${PN} == xorg-server || ${PN} == xf86-video-* || ${PN} == xf86-input-* ]]; then
|
||||
filter-flags -fno-plt
|
||||
|
Loading…
Reference in New Issue
Block a user