1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2024-12-29 10:11:40 +01:00
OpenVoiceOS/buildroot-patches/0002-Enable-Python-optimizations.patch

27 lines
708 B
Diff

From c071fa9ee045973afceafae64c5bac37fb5d1d12 Mon Sep 17 00:00:00 2001
From: j1nx <p.steenbergen@j1nx.nl>
Date: Thu, 6 Apr 2023 17:12:24 +0200
Subject: [PATCH 1/1] Enable python optimizations
---
package/python3/python3.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/python3/python3.mk b/package/python3/python3.mk
index 56fe95cd07..38179aa9e0 100644
--- a/package/python3/python3.mk
+++ b/package/python3/python3.mk
@@ -190,7 +190,8 @@ PYTHON3_CONF_OPTS += \
--disable-tk \
--disable-nis \
--disable-idle3 \
- --disable-pyc-build
+ --disable-pyc-build \
+ --enable-optimizations
#
# Remove useless files. In the config/ directory, only the Makefile
--
2.34.1