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 | 3ddd392988887279ba08bafabe3ecf8801f573ea (patch) | |
tree | 927ce2346e60580a065411685b154f3a402e5a77 | |
parent | 9b2dd07d5bc463d730bc31615db618a8799c34af (diff) | |
download | mandoc-3ddd392988887279ba08bafabe3ecf8801f573ea.tar.gz |
Sanitize the environment when calling make(1) to autodetect ${CC}.
Sevan Janiyan found during testing on AIX that ${CC} could leak in.
-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= |