summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-scheme/ypsilon')
-rw-r--r--dev-scheme/ypsilon/ypsilon-0.9.6_p3-r2.ebuild (renamed from dev-scheme/ypsilon/ypsilon-0.9.6_p3-r1.ebuild)3
1 files changed, 1 insertions, 2 deletions
diff --git a/dev-scheme/ypsilon/ypsilon-0.9.6_p3-r1.ebuild b/dev-scheme/ypsilon/ypsilon-0.9.6_p3-r2.ebuild
index d23b6adb8f36..ee62dd3b6fe9 100644
--- a/dev-scheme/ypsilon/ypsilon-0.9.6_p3-r1.ebuild
+++ b/dev-scheme/ypsilon/ypsilon-0.9.6_p3-r2.ebuild
@@ -30,7 +30,7 @@ src_prepare() {
use threads && append-flags -pthread
# fix build with >=sys-devel/gcc-11, bug #787866
- append-cppflags -DNO_TLS
+ sed -i "/^CPPFLAGS/s/=/= -DNO_TLS/" Makefile
}
src_compile() {
@@ -38,7 +38,6 @@ src_compile() {
PREFIX="${EPREFIX}/usr" \
AS="$(tc-getAS)" \
CXX="$(tc-getCXX)" \
- CPPFLAGS="${CPPFLAGS}" \
CXXFLAGS="${CXXFLAGS}" \
LDFLAGS="${LDFLAGS}"
}