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
Jonathan Perkin committed Apr 1, 2019
1 parent a07e860 commit 797d34c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bootstrap/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -1307,6 +1307,7 @@ if test -n "$XARGS"; then
echo "TOOLS_PLATFORM.xargs?= $XARGS" >> ${TARGET_MKCONF}
echo "TOOLS_PLATFORM.xargs?= $XARGS" >> ${BOOTSTRAP_MKCONF}
fi
if false; then
if test -n "$CFLAGS"; then
echo "CFLAGS+= $CFLAGS" >> ${TARGET_MKCONF}
echo "DBG= # prevent DBG from adding default optimizer flags" >> ${TARGET_MKCONF}
Expand All @@ -1321,6 +1322,7 @@ fi
if test -n "$LIBS"; then
echo "LIBS+= $LIBS" >> ${TARGET_MKCONF}
fi
fi

# opsys specific fiddling
opsys_finish
Expand Down

0 comments on commit 797d34c

Please sign in to comment.