Commits

xdpcx committed 1c6b5d3

Fix subsequent compilations.

Comments (0)

Files changed (1)

scripts/build/cc/gcc.sh

     fi
 
     # This is more like patching, but whatever ...
-    if [ "${CT_CC_LANG_D}" = "y" ]; then
+    if [ "${CT_CC_LANG_D}" = "y" \
+	    -a ! -e "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/gcc/d" ]; then
         CT_DoExecLog ALL ln -sf "${CT_SRC_DIR}/gdc/d" "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/gcc/d"
         ( # for making sure CWD get's restored (is this necessary?)
         cd "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}"