From: Wolfgang Bumiller Date: Mon, 16 Dec 2013 14:04:28 +0000 (+0100) Subject: set this where the compiler type is set... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8662bfd184c4f0c139fb7b8300139d81d8c90022;p=xonotic%2Fgmqcc.git set this where the compiler type is set... --- 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