Skip to content

Commit

Permalink
Update build-ubuntu.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
theofficialgman committed Apr 25, 2023
1 parent 2d8b5cc commit c6a4ad6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/build-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ tar -xf $CURL_FILE

(
cd $CURL_FILE_NAME || exit 1
./configure --prefix="$CURL_INSTALL_DIR" "$HOST" "$TARGET"
CFLAGS='-D_FILE_OFFSET_BITS=32' ./configure --prefix="$CURL_INSTALL_DIR" "$HOST" "$TARGET"
make install
)
echo " -- Building git at $SOURCE to $DESTINATION"
Expand All @@ -103,7 +103,7 @@ echo " -- Building git at $SOURCE to $DESTINATION"
cd "$SOURCE" || exit 1
make clean
make configure
CFLAGS='-Wall -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE' \
CFLAGS='-D_FILE_OFFSET_BITS=32 -Wall -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE' \
LDFLAGS='-Wl,-Bsymbolic-functions -Wl,-z,relro' ac_cv_iconv_omits_bom=no ac_cv_fread_reads_directories=no ac_cv_snprintf_returns_bogus=no \
./configure $HOST \
--with-curl="$CURL_INSTALL_DIR" \
Expand Down

0 comments on commit c6a4ad6

Please sign in to comment.