summaryrefslogtreecommitdiffstats
path: root/source/x/x11/configure/xf86-video-intel
blob: faf752eba7df4903e02c53660573dac638cb2ee9 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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" \
./autogen.sh \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --infodir=/usr/info \
  --mandir=/usr/man \
  --docdir=/usr/doc/${PKGNAME}-${MODULAR_PACKAGE_VERSION} \
  --disable-static \
  --enable-kms-only \
  --enable-uxa \
  --with-default-dri=3 \
  --enable-year2038 \
  --build=$ARCH-slackware-linux