summaryrefslogtreecommitdiff
path: root/source/x/x11/configure/xf86-video-intel
blob: 88581a1e7c8d8c2dacdb21d1e9087bd192044fd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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 \
  --build=$ARCH-slackware-linux