~carbslinux/repository

ref: 2356b251838cdb86fbd0c0a602f5d7e3f53ba6f3 repository/community/aria2/build -rwxr-xr-x 391 bytes
2356b251Cem Keylan gcc: bump to 11.2.0 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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 \
    --disable-metalink \
    --disable-websocket \
    --without-libxml2 \
    --without-libexpat \
    --without-sqlite3

make LDFLAGS="$LDFLAGS -all-static"
make DESTDIR="$1" install