* mdocml: Sanitize the environment when calling make(1) to autodetect
@ 2016-07-15 15:09 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2016-07-15 15:09 UTC (permalink / raw)
To: source
Log Message:
-----------
Sanitize the environment when calling make(1) to autodetect ${CC}.
Sevan Janiyan found during testing on AIX that ${CC} could leak in.
Modified Files:
--------------
mdocml:
configure
Revision Data
-------------
Index: configure
===================================================================
RCS file: /home/cvs/mdocml/mdocml/configure,v
retrieving revision 1.40
retrieving revision 1.41
diff -Lconfigure -Lconfigure -u -p -r1.40 -r1.41
--- configure
+++ configure
@@ -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=
--
To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-07-15 15:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-15 15:09 mdocml: Sanitize the environment when calling make(1) to autodetect schwarze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).