dev-lang/odin: strip flags using flag-o-matic

Signed-off-by: Itai Ferber <itai@itaiferber.net>
This commit is contained in:
Itai Ferber committed 2026-03-06 13:48:51 -05:00
1 parent a4b4987f14
commit 4b19f20064
2 files changed
+12 -8

No files matched your search

+6 -4
View File
@@ -4,7 +4,7 @@
EAPI=8
LLVM_COMPAT=( {17..21} )
inherit llvm-r2
inherit flag-o-matic llvm-r2
DESCRIPTION="The Data-Oriented Language for Sane Software Development."
HOMEPAGE="https://odin-lang.org/"
@@ -31,9 +31,11 @@ RDEPEND="
BDEPEND="${RDEPEND}"
# build_odin.sh sets its own flags. Some gcc flags cause build failures
CPPFLAGS=""
CXXFLAGS=""
src_configure() {
strip-flags
default
}
src_compile() {
./build_odin.sh release || die "failed to build odin"
}
+6 -4
View File
@@ -4,7 +4,7 @@
EAPI=8
LLVM_COMPAT=( {17..21} )
inherit llvm-r2
inherit flag-o-matic llvm-r2
DESCRIPTION="The Data-Oriented Language for Sane Software Development."
HOMEPAGE="https://odin-lang.org/"
@@ -31,9 +31,11 @@ RDEPEND="
BDEPEND="${RDEPEND}"
# build_odin.sh sets its own flags. Some gcc flags cause build failures
CPPFLAGS=""
CXXFLAGS=""
src_configure() {
strip-flags
default
}
src_compile() {
./build_odin.sh release || die "failed to build odin"
}