diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2016-07-15 15:08:37 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2016-07-15 15:08:37 +0000 |
commit | a142b09ae91ee2ad981c24c9a48689e623d6a952 (patch) | |
tree | 94d85a3bd73cd1255af13afa605a2673c4713aea /configure | |
parent | 698b2c49aa208e5c283b2f88e13f9507b597b1fb (diff) | |
download | mandoc-a142b09ae91ee2ad981c24c9a48689e623d6a952.tar.gz mandoc-a142b09ae91ee2ad981c24c9a48689e623d6a952.tar.zst mandoc-a142b09ae91ee2ad981c24c9a48689e623d6a952.zip |
Sanitize the environment when calling make(1) to autodetect ${CC}.
Sevan Janiyan found during testing on AIX that ${CC} could leak in.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -34,7 +34,7 @@ echo "config.log: writing..." MANPATH_DEFAULT="/usr/share/man:/usr/X11R6/man:/usr/local/man" OSNAME= -CC=`printf "all:\\n\\t@echo \\\$(CC)\\n" | make -f -` +CC=`printf "all:\\n\\t@echo \\\$(CC)\\n" | env -i make -f -` CFLAGS="-g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings" LDADD= LDFLAGS= |