summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-10-09 11:45:15 +0100
committerSam James <sam@gentoo.org>2024-10-09 11:46:26 +0100
commitee0634b18dff1c5bb1d064ae72830bfadb7a1ab8 (patch)
tree805fafc3f99b2c025cf82f06ac6279d13fa170e4 /x11-libs
parentx11-libs/fox: consistently pass -fno-strict-aliasing (diff)
downloadgentoo-ee0634b18dff1c5bb1d064ae72830bfadb7a1ab8.tar.gz
gentoo-ee0634b18dff1c5bb1d064ae72830bfadb7a1ab8.tar.bz2
gentoo-ee0634b18dff1c5bb1d064ae72830bfadb7a1ab8.zip
x11-libs/fox: don't use --enable-release
It passes -fstrict-aliasing amongst other things when the codebase isn't alias-safe. Bug: https://bugs.gentoo.org/940648 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/fox/fox-1.6.57-r3.ebuild5
-rw-r--r--x11-libs/fox/fox-1.7.67-r1.ebuild5
-rw-r--r--x11-libs/fox/fox-1.7.67-r2.ebuild5
3 files changed, 12 insertions, 3 deletions
diff --git a/x11-libs/fox/fox-1.6.57-r3.ebuild b/x11-libs/fox/fox-1.6.57-r3.ebuild
index dd1f71e19dfd..ac28fe40a67c 100644
--- a/x11-libs/fox/fox-1.6.57-r3.ebuild
+++ b/x11-libs/fox/fox-1.6.57-r3.ebuild
@@ -56,10 +56,13 @@ src_configure() {
append-flags -fno-strict-aliasing
filter-lto
+ use debug || append-cppflags -DNDEBUG
+
+ # Not using --enable-release because of the options it sets like no SSP
econf \
--disable-static \
- --enable-$(usex debug debug release) \
$(use_enable bzip2 bz2lib) \
+ $(use_enable debug) \
$(use_enable jpeg) \
$(use_with opengl) \
$(use_enable png) \
diff --git a/x11-libs/fox/fox-1.7.67-r1.ebuild b/x11-libs/fox/fox-1.7.67-r1.ebuild
index 3f72ee2203ba..1cca9329ea1f 100644
--- a/x11-libs/fox/fox-1.7.67-r1.ebuild
+++ b/x11-libs/fox/fox-1.7.67-r1.ebuild
@@ -62,10 +62,13 @@ src_configure() {
append-flags -fno-strict-aliasing
filter-lto
+ use debug || append-cppflags -DNDEBUG
+
+ # Not using --enable-release because of the options it sets like no SSP
econf \
--disable-static \
- --enable-$(usex debug debug release) \
$(use_enable bzip2 bz2lib) \
+ $(use_enable debug) \
$(use_enable jpeg) \
$(use_with opengl) \
$(use_enable png) \
diff --git a/x11-libs/fox/fox-1.7.67-r2.ebuild b/x11-libs/fox/fox-1.7.67-r2.ebuild
index bdb35e3c427f..4a551ea3f2b8 100644
--- a/x11-libs/fox/fox-1.7.67-r2.ebuild
+++ b/x11-libs/fox/fox-1.7.67-r2.ebuild
@@ -70,10 +70,13 @@ src_configure() {
append-flags -fno-strict-aliasing
filter-lto
+ use debug || append-cppflags -DNDEBUG
+
+ # Not using --enable-release because of the options it sets like no SSP
econf \
--disable-static \
- --enable-$(usex debug debug release) \
$(use_enable bzip2 bz2lib) \
+ $(use_enable debug) \
$(use_enable jpeg) \
$(use_with opengl) \
$(use_enable png) \