diff options
author | Sam James <sam@gentoo.org> | 2022-05-17 01:49:00 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-05-17 05:33:55 +0000 |
commit | 04e0c8090de87196ff3a40a326ab90ecf829b984 (patch) | |
tree | bd29566557d9c35d229cc32ebd0e9354c044fcd8 /dev-lang/python | |
parent | dev-db/mariadb: [QA] drop (very) stale GCC version checks (diff) | |
download | gentoo-04e0c8090de87196ff3a40a326ab90ecf829b984.tar.gz gentoo-04e0c8090de87196ff3a40a326ab90ecf829b984.tar.bz2 gentoo-04e0c8090de87196ff3a40a326ab90ecf829b984.zip |
dev-lang/python: [QA] drop (very) stale GCC version checks
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang/python')
-rw-r--r-- | dev-lang/python/python-2.7.18_p15.ebuild | 4 | ||||
-rw-r--r-- | dev-lang/python/python-3.10.4.ebuild | 4 | ||||
-rw-r--r-- | dev-lang/python/python-3.10.4_p1.ebuild | 4 | ||||
-rw-r--r-- | dev-lang/python/python-3.11.0_beta1-r2.ebuild | 4 | ||||
-rw-r--r-- | dev-lang/python/python-3.7.13.ebuild | 4 | ||||
-rw-r--r-- | dev-lang/python/python-3.8.13.ebuild | 4 | ||||
-rw-r--r-- | dev-lang/python/python-3.8.13_p1.ebuild | 4 | ||||
-rw-r--r-- | dev-lang/python/python-3.9.11.ebuild | 4 | ||||
-rw-r--r-- | dev-lang/python/python-3.9.12.ebuild | 4 |
9 files changed, 9 insertions, 27 deletions
diff --git a/dev-lang/python/python-2.7.18_p15.ebuild b/dev-lang/python/python-2.7.18_p15.ebuild index b156a86e951e..56c2f1f2c310 100644 --- a/dev-lang/python/python-2.7.18_p15.ebuild +++ b/dev-lang/python/python-2.7.18_p15.ebuild @@ -142,9 +142,7 @@ src_configure() { einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}" fi - if [[ "$(gcc-major-version)" -ge 4 ]]; then - append-flags -fwrapv - fi + append-flags -fwrapv filter-flags -malign-double diff --git a/dev-lang/python/python-3.10.4.ebuild b/dev-lang/python/python-3.10.4.ebuild index 598af7c9b101..c0a5bc0c2078 100644 --- a/dev-lang/python/python-3.10.4.ebuild +++ b/dev-lang/python/python-3.10.4.ebuild @@ -147,9 +147,7 @@ src_configure() { einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}" fi - if [[ "$(gcc-major-version)" -ge 4 ]]; then - append-flags -fwrapv - fi + append-flags -fwrapv filter-flags -malign-double diff --git a/dev-lang/python/python-3.10.4_p1.ebuild b/dev-lang/python/python-3.10.4_p1.ebuild index 6cf21daca8d7..45b349a487e6 100644 --- a/dev-lang/python/python-3.10.4_p1.ebuild +++ b/dev-lang/python/python-3.10.4_p1.ebuild @@ -147,9 +147,7 @@ src_configure() { einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}" fi - if [[ "$(gcc-major-version)" -ge 4 ]]; then - append-flags -fwrapv - fi + append-flags -fwrapv filter-flags -malign-double diff --git a/dev-lang/python/python-3.11.0_beta1-r2.ebuild b/dev-lang/python/python-3.11.0_beta1-r2.ebuild index df656602e75c..e756eecece06 100644 --- a/dev-lang/python/python-3.11.0_beta1-r2.ebuild +++ b/dev-lang/python/python-3.11.0_beta1-r2.ebuild @@ -134,9 +134,7 @@ src_configure() { # disable automagic bluetooth headers detection use bluetooth || export ac_cv_header_bluetooth_bluetooth_h=no - if [[ "$(gcc-major-version)" -ge 4 ]]; then - append-flags -fwrapv - fi + append-flags -fwrapv filter-flags -malign-double diff --git a/dev-lang/python/python-3.7.13.ebuild b/dev-lang/python/python-3.7.13.ebuild index 20483909387c..461983aeeeda 100644 --- a/dev-lang/python/python-3.7.13.ebuild +++ b/dev-lang/python/python-3.7.13.ebuild @@ -126,9 +126,7 @@ src_configure() { einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}" fi - if [[ "$(gcc-major-version)" -ge 4 ]]; then - append-flags -fwrapv - fi + append-flags -fwrapv filter-flags -malign-double diff --git a/dev-lang/python/python-3.8.13.ebuild b/dev-lang/python/python-3.8.13.ebuild index d6afe442a0f7..ee9d0ed10eca 100644 --- a/dev-lang/python/python-3.8.13.ebuild +++ b/dev-lang/python/python-3.8.13.ebuild @@ -130,9 +130,7 @@ src_configure() { einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}" fi - if [[ "$(gcc-major-version)" -ge 4 ]]; then - append-flags -fwrapv - fi + append-flags -fwrapv filter-flags -malign-double diff --git a/dev-lang/python/python-3.8.13_p1.ebuild b/dev-lang/python/python-3.8.13_p1.ebuild index 2c8b18fc1520..b5db263829e0 100644 --- a/dev-lang/python/python-3.8.13_p1.ebuild +++ b/dev-lang/python/python-3.8.13_p1.ebuild @@ -130,9 +130,7 @@ src_configure() { einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}" fi - if [[ "$(gcc-major-version)" -ge 4 ]]; then - append-flags -fwrapv - fi + append-flags -fwrapv filter-flags -malign-double diff --git a/dev-lang/python/python-3.9.11.ebuild b/dev-lang/python/python-3.9.11.ebuild index da80c3036432..1d98d0661523 100644 --- a/dev-lang/python/python-3.9.11.ebuild +++ b/dev-lang/python/python-3.9.11.ebuild @@ -131,9 +131,7 @@ src_configure() { einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}" fi - if [[ "$(gcc-major-version)" -ge 4 ]]; then - append-flags -fwrapv - fi + append-flags -fwrapv filter-flags -malign-double diff --git a/dev-lang/python/python-3.9.12.ebuild b/dev-lang/python/python-3.9.12.ebuild index 110efb768a04..445581c6427d 100644 --- a/dev-lang/python/python-3.9.12.ebuild +++ b/dev-lang/python/python-3.9.12.ebuild @@ -142,9 +142,7 @@ src_configure() { einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}" fi - if [[ "$(gcc-major-version)" -ge 4 ]]; then - append-flags -fwrapv - fi + append-flags -fwrapv filter-flags -malign-double |