diff options
Diffstat (limited to 'sys-devel/gdb/gdb-10.2-r1.ebuild')
-rw-r--r-- | sys-devel/gdb/gdb-10.2-r1.ebuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys-devel/gdb/gdb-10.2-r1.ebuild b/sys-devel/gdb/gdb-10.2-r1.ebuild index 1978ab28268d..19f08197ce03 100644 --- a/sys-devel/gdb/gdb-10.2-r1.ebuild +++ b/sys-devel/gdb/gdb-10.2-r1.ebuild @@ -188,6 +188,9 @@ src_configure() { # source-highlight is detected with pkg-config: bug #716558 export ac_cv_path_pkg_config_prog_path="$(tc-getPKG_CONFIG)" + # ensure proper compiler is detected for Clang builds: bug #831202 + export GCC_FOR_TARGET="${CC_FOR_TARGET:-$(tc-getCC)}" + econf "${myconf[@]}" } |