1. Vincenzo Ampolo
  2. gdc

Commits

Iain Buclaw  committed 6051e52

D2.0 is now the default compiler to build.

  • Participants
  • Parent commits 134e81e
  • Branches default

Comments (0)

Files changed (1)

File d/setup-gcc.sh

View file
 fi
 top=`pwd`
 
-# D 1.0 is the default
-if test -d gcc/d/dmd; then
+# D 2.0 is the default
+if test -d gcc/d/dmd2; then
+    d_lang_version=2
+elif test -d gcc/d/dmd; then
     d_lang_version=1
-elif test -d gcc/d/dmd2; then
-    d_lang_version=2
 fi
 
 # True if we just want to rebuild the phobos directory