summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2023-02-26 23:42:33 +0000
committerSam James <sam@gentoo.org>2023-03-04 02:29:33 +0000
commit7766b01c2f7ac6856cd21f8261b631bb88060bda (patch)
treee87e097d680473a0c1ebe1962dc96668bb698a5a /dev-python/xlwt
parentprofiles/features/prefix/standalone: mask getentropy (diff)
downloadgentoo-7766b01c2f7ac6856cd21f8261b631bb88060bda.tar.gz
gentoo-7766b01c2f7ac6856cd21f8261b631bb88060bda.tar.bz2
gentoo-7766b01c2f7ac6856cd21f8261b631bb88060bda.zip
sys-devel/gdb: Fix cross-compiling (properly) and prefix sysroot
https://github.com/gentoo/gentoo/pull/25896 tried to address cross-compiling in the wrong way by setting the runtime sysroot and the libdir. The build uses the latter to find dependent libraries by default, a common technique in GNU software. This behaviour can be avoided by passing the "without-prefix" configure option for each library, allowing the runtime sysroot and the libdir to be set as they should be. Contrary to what you might expect, the sysroot should actually not be set at all except when building cross-*/gdb, otherwise the paths get double prefixed at runtime. gdb's configure script also has a --with-build-sysroot option that should be set to assist with cross-compiling. This does not influence runtime behaviour. The includedir for cross-*/gdb has been changed to prevent it from installing under /usr/${CTARGET}, where installed headers would collide with those from a cross-compiled sys-devel/gdb build. /usr/include/${CTARGET}/gdb is consistent with the files we install under /usr/share, as well as the scheme we use for multilib headers, e.g. /usr/include/i686-pc-linux-gnu. Closes: https://bugs.gentoo.org/896008 Signed-off-by: James Le Cuirot <chewi@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/29819 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/xlwt')
0 files changed, 0 insertions, 0 deletions