Skip to content

Commit

Permalink
fix building zic.exe
Browse files Browse the repository at this point in the history
  • Loading branch information
jwt27 committed Oct 29, 2023
1 parent 4fffc51 commit 7fdf00d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-djgpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ if [ ! -z ${DJGPP_VERSION} ]; then
cd src
unset COMSPEC
sed -i "50cCROSS_PREFIX = ${TARGET}-" makefile.def
sed -i "61cGCC = \$(CC) -g -O2 ${CFLAGS}" makefile.def
sed -i "61cGCC = ${CC} -g -O2 ${CFLAGS}" makefile.def
if [ ! -z ${GCC_VERSION} ] || [ ! "`cat configure-options 2> /dev/null`" == "${TARGET}:${DST}:${CFLAGS_FOR_TARGET}" ]; then
${MAKE_J} clean
rm -f ../lib/*.{a,o}
Expand Down Expand Up @@ -339,7 +339,7 @@ if [ ! -z ${DJGPP_VERSION} ]; then
${MAKE_J} -C libemu || exit 1
${MAKE_J} -C libm || exit 1
${MAKE_J} -C docs || exit 1
${MAKE_J} -C ../zoneinfo/src 2> /dev/null
${MAKE_J} -C ../zoneinfo/src
${MAKE_J} -f makempty || exit 1
LDFLAGS="$TEMP_LDFLAGS"
CFLAGS="$TEMP_CFLAGS"
Expand Down

0 comments on commit 7fdf00d

Please sign in to comment.