Skip to content

Commit

Permalink
remove GOT complaints from configures
Browse files Browse the repository at this point in the history
Looks like this week's version of gcc doesn't suffer from this.
And it's not something I can fix anyway.
  • Loading branch information
arsv committed Jan 28, 2018
1 parent 6dd2545 commit c0bdec1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,6 @@ END
# GCC may be configured to produce PIEs without explicit -pie options,
# and it would do so even if given -ffreestanding -static. This is not
# acceptable for minibase, so the code below tries to force non-PIE mode.
#
# Current gcc versions also generate GOT relocations no matter what.
# No idea how to disable them atm. It's mostly harmless, but adds one
# dirty page for executables that would not need it otherwise.
#
# clang does it right and produces nice static executables with no GOT.

if [ -n "$clang" ]; then
cat >> mini-cc <<END
Expand Down

0 comments on commit c0bdec1

Please sign in to comment.