Allow YASM to be used instead of NASM.
authorFilip Navara <filip.navara@gmail.com>
Wed, 29 Jun 2005 22:19:47 +0000 (22:19 +0000)
committerFilip Navara <filip.navara@gmail.com>
Wed, 29 Jun 2005 22:19:47 +0000 (22:19 +0000)
svn path=/trunk/; revision=16334

reactos/tools/rbuild/backend/mingw/mingw.cpp

index aeeadd9..dd9d32b 100644 (file)
@@ -799,6 +799,11 @@ MingwBackend::DetectNetwideAssembler ()
                detectedNasm = TryToDetectThisNetwideAssembler ( nasmCommand );
        }
 #endif
+       if ( !detectedNasm )
+       {
+               nasmCommand = "yasm";
+               detectedNasm = TryToDetectThisNetwideAssembler ( nasmCommand );
+       }
        if ( detectedNasm )
                printf ( "detected (%s)\n", nasmCommand.c_str () );
        else