]> git.tdb.fi Git - builder.git/commitdiff
Don't copy cpu from a potentially incompatible architecture
authorMikko Rasa <tdb@tdb.fi>
Sun, 8 Jul 2012 20:06:51 +0000 (23:06 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 8 Jul 2012 21:08:54 +0000 (00:08 +0300)
source/architecture.cpp

index a416551f23312b74febc418f2c4e41b7f9a5049e..5c88354634695e1689b186cb8b65a9648b724da3 100644 (file)
@@ -84,8 +84,6 @@ Architecture::Architecture(Builder &b, const string &spec):
                const Architecture &native_arch = builder.get_native_arch();
                if(type.empty())
                        type = native_arch.type;
-               if(cpu.empty())
-                       cpu = native_arch.cpu;
                if(system.empty())
                        system = native_arch.system;
                if(!bits)