Skip to content

Commit

Permalink
bootstrap: Do not save compiler flags to mk.conf.
Browse files Browse the repository at this point in the history
We already set them explicitly in pkgbuild and besides avoiding
duplicates this also allows us to change them without having to rebuild
bootstrap.
  • Loading branch information
jperkin authored and github-actions[bot] committed Jan 17, 2025
1 parent e8b7f0d commit 934cf86
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions bootstrap/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -1438,20 +1438,6 @@ if test -n "$XARGS"; then
echo "TOOLS_PLATFORM.xargs?= $XARGS" >> ${TARGET_MKCONF}
echo "TOOLS_PLATFORM.xargs?= $XARGS" >> ${BOOTSTRAP_MKCONF}
fi
if test -n "$CFLAGS"; then
echo "CFLAGS+= $CFLAGS" >> ${TARGET_MKCONF}
echo "DBG= # prevent DBG from adding default optimizer flags" >> ${TARGET_MKCONF}
echo "DBG= # prevent DBG from adding default optimizer flags" >> ${BOOTSTRAP_MKCONF}
fi
if test -n "$CPPFLAGS"; then
echo "CPPFLAGS+= $CPPFLAGS" >> ${TARGET_MKCONF}
fi
if test -n "$LDFLAGS"; then
echo "LDFLAGS+= $LDFLAGS" >> ${TARGET_MKCONF}
fi
if test -n "$LIBS"; then
echo "LIBS+= $LIBS" >> ${TARGET_MKCONF}
fi
if test -n "$MACOSX_DEPLOYMENT_TARGET"; then
echo "MACOSX_DEPLOYMENT_TARGET= $MACOSX_DEPLOYMENT_TARGET" >>${TARGET_MKCONF}
echo "MACOSX_DEPLOYMENT_TARGET= $MACOSX_DEPLOYMENT_TARGET" >>${BOOTSTRAP_MKCONF}
Expand Down

0 comments on commit 934cf86

Please sign in to comment.