mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
sci-electronics/verilator: fix user CFLAG and missing gdb BDEPEND
- fix overwrites user's optimization (-O*) - fix calls commands that do not exist: gdb Closes: https://bugs.gentoo.org/927328 Closes: https://bugs.gentoo.org/887919 Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
@@ -42,6 +42,7 @@ BDEPEND="
|
||||
sys-devel/flex
|
||||
test? (
|
||||
dev-build/cmake
|
||||
dev-debug/gdb
|
||||
)
|
||||
"
|
||||
|
||||
@@ -64,6 +65,11 @@ src_prepare() {
|
||||
eautoconf --force
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# https://bugs.gentoo.org/887919
|
||||
econf CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test
|
||||
}
|
||||
@@ -42,6 +42,7 @@ BDEPEND="
|
||||
sys-devel/flex
|
||||
test? (
|
||||
dev-build/cmake
|
||||
dev-debug/gdb
|
||||
)
|
||||
"
|
||||
|
||||
@@ -64,6 +65,11 @@ src_prepare() {
|
||||
eautoconf --force
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# https://bugs.gentoo.org/887919
|
||||
econf CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test
|
||||
}
|
||||
@@ -42,6 +42,7 @@ BDEPEND="
|
||||
sys-devel/flex
|
||||
test? (
|
||||
dev-build/cmake
|
||||
dev-debug/gdb
|
||||
)
|
||||
"
|
||||
|
||||
@@ -64,6 +65,11 @@ src_prepare() {
|
||||
eautoconf --force
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# https://bugs.gentoo.org/887919
|
||||
econf CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user