2018-05-28 21:12:29 +02:00
|
|
|
# xf86-video-intel requires SSE2 instructions on 32-bit x86:
|
|
|
|
ALTCFLAGS="$SLKCFLAGS"
|
|
|
|
case "$( uname -m )" in
|
|
|
|
i?86) ALTCFLAGS="-O2 -march=i686 -mtune=i686 -msse2" ; PKGARCH=i686 ;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
CFLAGS="$ALTCFLAGS" \
|
|
|
|
CXXFLAGS="$ALTCFLAGS" \
|
2016-06-30 22:26:57 +02:00
|
|
|
./autogen.sh \
|
2010-05-19 10:58:23 +02:00
|
|
|
--prefix=/usr \
|
|
|
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--localstatedir=/var \
|
|
|
|
--infodir=/usr/info \
|
|
|
|
--mandir=/usr/man \
|
2016-06-30 22:26:57 +02:00
|
|
|
--docdir=/usr/doc/${PKGNAME}-${MODULAR_PACKAGE_VERSION} \
|
2010-05-19 10:58:23 +02:00
|
|
|
--disable-static \
|
2016-06-30 22:26:57 +02:00
|
|
|
--enable-kms-only \
|
|
|
|
--enable-uxa \
|
2018-05-28 21:12:29 +02:00
|
|
|
--with-default-dri=3 \
|
2024-03-26 23:24:59 +01:00
|
|
|
--enable-year2038 \
|
2010-05-19 10:58:23 +02:00
|
|
|
--build=$ARCH-slackware-linux
|