diff options
Diffstat (limited to 'community')
-rwxr-xr-x | community/aria2/build | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/community/aria2/build b/community/aria2/build index 9fae6147..f6281345 100755 --- a/community/aria2/build +++ b/community/aria2/build @@ -1,5 +1,9 @@ #!/bin/sh -e +export CFLAGS="$CFLAGS -static-libgcc" +export CXXFLAGS="$CXXFLAGS -static-libgcc -static-libstdc++" +export PKG_CONFIG="pkgconf --static" + ./configure \ --prefix=/usr \ --disable-nls \ @@ -9,5 +13,5 @@ --without-libexpat \ --without-sqlite3 -make +make LDFLAGS="$LDFLAGS -all-static" make DESTDIR="$1" install |