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 Jun 29, 2018
1 parent 12f4e50 commit f5a38a4
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 @@ -1273,6 +1273,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 @@ -1287,6 +1288,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 f5a38a4

Please sign in to comment.