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 Jul 1, 2019
1 parent 838a92a commit 79b6e78
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 @@ -1337,6 +1337,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 @@ -1351,6 +1352,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 79b6e78

Please sign in to comment.