summaryrefslogtreecommitdiff
path: root/community/nodejs/PKGBUILD
blob: efbf8000d26ca32dbc7dc0c9abaf461f775335da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# actually build a 32-bit version
eval "$(
  declare -f build | \
    sed '
	  s|./configure|./configure --dest-cpu ia32|g
    '
)"	

# linker runs out of memory on 32-bit
eval "$(
  declare -f build | \
    sed '
      3 i LDFLAGS+=" -Wl,--no-keep-memory"
      3 i CFLAGS+=" -g1"
      3 i CXXFLAGS+=" -g1"
    '
)"