From: Francesco Chemolli Date: Thu, 19 Nov 2009 22:44:47 +0000 (+0100) Subject: Fix testheaders.sh to work with non-gcc compilers X-Git-Tag: SQUID_3_2_0_1~555 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1c46fbd5518ab336333c9b884b1c3a82d9245475;p=thirdparty%2Fsquid.git Fix testheaders.sh to work with non-gcc compilers --- diff --git a/test-suite/testheaders.sh b/test-suite/testheaders.sh index 973c216000..41429438ca 100755 --- a/test-suite/testheaders.sh +++ b/test-suite/testheaders.sh @@ -27,7 +27,7 @@ for f in `cd ${dir} && ls -1 *.h 2>/dev/null`; do # run compile test on the new file. # DEBUG: echo "TRY: ${cc} -o testHeaderDeps.o ./testHeaderDeps_${hdr}.cc" - ${cc} -o testHeaderDeps_${hdr}.o ./testHeaderDeps_${hdr}.cc + ${cc} -c -o testHeaderDeps_${hdr}.o ./testHeaderDeps_${hdr}.cc rm ./testHeaderDeps_${hdr}.cc fi if [ ! -f testHeaderDeps_${hdr}.o ]; then