summaryrefslogtreecommitdiff
path: root/extra/qt5-base/PKGBUILD
blob: a5a0a8e60ffe88f482fa8eb1ac4f0b783cb3ffd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
if [ "$CARCH" = 'i486' -o "$CARCH" = 'i686' ]; then
  eval "$(
    declare -f build | \
      sed '
        s@./configure@./configure -no-sse2@g
      '
  )"
fi

# enable XCB explicitely for now on i486 (rather fail early than to
# get weird startup messages of Qt5 applications hours later)
if [ "$CARCH" = 'i486' ]; then
  eval "$(
    declare -f build | \
      sed '
        s/configure/configure -xcb /
      '
  )"  
fi