In a large sauce pot over medium heat add the olive oil, minced bacon, chopped onion, and smashed garlic. Cook stirring occasionally until mixture is soft and fragrant about 5 minutes. Add the dried thyme and red pepper flakes and cook for 1 minute more.