diff --git a/Makefile b/Makefile
index 674b83ab157df5246ebb692061fda69259edb8b4..8820ca05fe083842fbb8308bd8248234f908bfbd 100644
--- a/Makefile
+++ b/Makefile
@@ -1651,7 +1651,7 @@ else
 endif
 endif
 	$(Q)$(MAKE) -j 1 -C third_party/openssl clean
-	$(Q)(unset CPPFLAGS; $(MAKE) -C third_party/openssl build_crypto build_ssl)
+	$(Q)(unset CPPFLAGS; $(MAKE) -j 1 -C third_party/openssl build_crypto build_ssl)
 	$(Q)mkdir -p $(LIBDIR)/$(CONFIG)/openssl
 	$(Q)cp third_party/openssl/libssl.a third_party/openssl/libcrypto.a $(LIBDIR)/$(CONFIG)/openssl
 
diff --git a/templates/Makefile.template b/templates/Makefile.template
index 0af3dbde7ac3b20ad561097cde86452e045ba06f..797f0ab57fa7c10a8d81c849f989806c3c225762 100644
--- a/templates/Makefile.template
+++ b/templates/Makefile.template
@@ -860,7 +860,7 @@ else
 endif
 endif
 	$(Q)$(MAKE) -j 1 -C third_party/openssl clean
-	$(Q)(unset CPPFLAGS; $(MAKE) -C third_party/openssl build_crypto build_ssl)
+	$(Q)(unset CPPFLAGS; $(MAKE) -j 1 -C third_party/openssl build_crypto build_ssl)
 	$(Q)mkdir -p $(LIBDIR)/$(CONFIG)/openssl
 	$(Q)cp third_party/openssl/libssl.a third_party/openssl/libcrypto.a $(LIBDIR)/$(CONFIG)/openssl