From 8662bfd184c4f0c139fb7b8300139d81d8c90022 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Mon, 16 Dec 2013 15:04:28 +0100 Subject: [PATCH] set this where the compiler type is set... --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index e9a7494..28bb83a 100755 --- a/configure +++ b/configure @@ -162,8 +162,10 @@ msg 'using CC = %s' "${CC}" # We might add support for different compilers with a different CLI cf_cctype="gcc" +cf_dynamic_depends=1 if [ "x${CC}" != "xclang" -a "x${CC}" != "gcc" -a "x${CC}" != "g++" ]; then + cf_dynamic_depends=0 msg "checking compiler type" cf_ccver="$(${CC} -v 2>&1)" [ $? -eq 0 ] || die "Failed to retrieve compiler version info" @@ -340,7 +342,6 @@ print_targets() { echo "${obj}: ${c_src}" printf '\t$(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ "%s"' "${c_src}" if [ "x$cf_cctype" == "xgcc" ]; then - cf_dynamic_depends=1 printf ' -MMD -MF "%s" -MT $@\n' "${d_inc}" else echo -- 2.39.2