Advertisement
Guest User

Untitled

a guest
May 1st, 2014
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.77 KB | None | 0 0
  1. --- ../lib32-js-virgin/PKGBUILD 2014-04-27 21:34:36.000000000 +1000
  2. +++ PKGBUILD    2014-05-02 10:58:40.771147474 +1000
  3. @@ -29,7 +29,8 @@ build() {
  4.  
  5.    export CC='gcc -m32'
  6.    export CXX='g++ -m32'
  7. -  export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
  8. +  export PKG_CONFIG_LIBDIR=/usr/lib32/pkgconfig
  9. +  export AR=ar
  10.  
  11.    # FORTIFY_SOURCE causes errors
  12.    export CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=+([0-9])/}"
  13. @@ -39,7 +40,7 @@ build() {
  14.    # there is no 32-bit nspr-config, so manual cflags and libs
  15.    # TODO update once in a while
  16.    ./configure --prefix=/usr \
  17. -     --target=i686-pc-linux-gnu \
  18. +     --target=i686-pc-linux \
  19.       --libdir=/usr/lib32 \
  20.       --with-nspr-cflags='-I/usr/include/nspr' \
  21.       --with-nspr-libs='-L/usr/lib32 -lplds4 -lplc4 -lnspr4 -lpthread' \
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement