]> git.tdb.fi Git - builder.git/commitdiff
Remove the -lmingw32 hack
authorMikko Rasa <tdb@tdb.fi>
Wed, 26 Dec 2018 22:41:03 +0000 (00:41 +0200)
committerMikko Rasa <tdb@tdb.fi>
Wed, 26 Dec 2018 22:41:03 +0000 (00:41 +0200)
Libmspcore now implements main() on Windows so it isn't needed anymore.

source/gnulinker.cpp

index 51da81f923cba4d649b181ee28cf68a01104b651..9f6230e481f2f0260275d19d9a88e2ff4a41e46e 100644 (file)
@@ -300,9 +300,6 @@ Task *GnuLinker::Linker::run(const Target &target) const
 
        bool static_link_ok = (binfo.libmode<=BuildInfo::STATIC);
 
-       if(architecture->get_system()=="windows" && architecture->get_cross_prefix().find("mingw")!=string::npos)
-               argv.push_back("-lmingw32");
-
        const Target::Dependencies &depends = target.get_dependencies();
        for(Target::Dependencies::const_iterator i=depends.begin(); i!=depends.end(); ++i)
        {