Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/qt5-base/PKGBUILD
blob: b7db1fd6f9a438a2916887d399fe6f296d7bac1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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

# no LTO on 486 slaves, they die with out-of-memory
if [ "$CARCH" = 'i486' ]; then
  eval "$(
    declare -f build | \
      sed '
        s/\(.*qmake *\)CONFIG+=fat-static-lto\(.*\)/\1 \2/
      '
  )"  
fi