Skip to content

Commit

Permalink
Update build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Moe-hacker authored Oct 28, 2024
1 parent c27cde1 commit e3ef03a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ git clone https://github.com/shadow-maint/shadow
cd shadow
autoreconf -fi
./autogen.sh
./configure LDFLAGS="-static -lintl -lgettextlib -L/usr/lib" --enable-static --disable-shared
make -j8 LDFLAGS="--static"
./configure LDFLAGS="-static -Wl,--gc-sections -ffunction-sections -fdata-sections -lintl -lgettextlib -L/usr/lib" --enable-static --disable-shared
make -j8 LDFLAGS="--static -Wl,--gc-sections -ffunction-sections -fdata-sections"
strip src/newuidmap
strip src/newgidmap
upx src/newuidmap
Expand Down

0 comments on commit e3ef03a

Please sign in to comment.