diff options
| author | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-10-10 19:02:54 +0200 | 
|---|---|---|
| committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-10-10 19:02:54 +0200 | 
| commit | 87aad8c76eb2371720c9aceef7516ecb0859ecdf (patch) | |
| tree | 8068578c0cd986837757b1d8f8193b01aac01656 /src/tasks.cc | |
| parent | 922412f5dc975b423757c1e248eac2813e48acb2 (diff) | |
Improve initial bootstrap speed.
Diffstat (limited to 'src/tasks.cc')
| -rw-r--r-- | src/tasks.cc | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/src/tasks.cc b/src/tasks.cc index 254404e..c280fb2 100644 --- a/src/tasks.cc +++ b/src/tasks.cc @@ -93,7 +93,7 @@ std::list<std::shared_ptr<Task>> taskFactory(const BuildConfiguration& config,  		tasks.emplace_back(std::make_shared<TaskAR>(config, settings, config.target,  		                                            objects, sourceDir));  		break; - +#ifndef BOOTSTRAP  	case TargetType::DynamicLibrary:  		// TODO: Use C++20 starts_with  		if(targetFile.stem().string().substr(0, 3) != "lib") @@ -113,6 +113,10 @@ std::list<std::shared_ptr<Task>> taskFactory(const BuildConfiguration& config,  	case TargetType::Object:  		break; +#else +	default: +		break; +#endif  	}  	return tasks; | 
