diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2019-04-19 21:46:18 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2019-04-19 21:46:18 -0700 |
commit | 2e93db67ddf400dbb064f18f06bef4e1f3d80529 (patch) | |
tree | 13a13dd2ecdbbbd9df67f63d6bca08594634925c /sys-devel/pconfigure/files/pconfigure-0.12.5-libdir.patch | |
parent | Update Zoom very far (diff) | |
download | palmer-2e93db67ddf400dbb064f18f06bef4e1f3d80529.tar.gz palmer-2e93db67ddf400dbb064f18f06bef4e1f3d80529.tar.bz2 palmer-2e93db67ddf400dbb064f18f06bef4e1f3d80529.zip |
Make pconfigure respect multilib paths
Signed-off-by: Palmer Dabbelt <palmer@dabbelt.com>
Diffstat (limited to 'sys-devel/pconfigure/files/pconfigure-0.12.5-libdir.patch')
-rw-r--r-- | sys-devel/pconfigure/files/pconfigure-0.12.5-libdir.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/sys-devel/pconfigure/files/pconfigure-0.12.5-libdir.patch b/sys-devel/pconfigure/files/pconfigure-0.12.5-libdir.patch new file mode 100644 index 0000000..ee43497 --- /dev/null +++ b/sys-devel/pconfigure/files/pconfigure-0.12.5-libdir.patch @@ -0,0 +1,37 @@ +commit 32e46a1fee1091ae58af51b7739da3f92f63ceba +gpg: Signature made Fri 19 Apr 2019 09:43:03 PM PDT +gpg: using RSA key 00CE76D1834960DFCE886DF8EF4CA1502CCBAB41 +gpg: issuer "palmer@dabbelt.com" +gpg: Good signature from "Palmer Dabbelt <palmer@dabbelt.com>" [ultimate] +gpg: aka "Palmer Dabbelt <palmer@sifive.com>" [ultimate] +Author: Palmer Dabbelt <palmer@dabbelt.com> +Date: Fri Apr 19 21:42:37 2019 -0700 + + Allow the build system to set LIBDIR + + This should allow me to pass Gentoo's strict-multlib tests. + + Signed-off-by: Palmer Dabbelt <palmer@dabbelt.com> + +diff --git a/src/libpconfigure/context.c++ b/src/libpconfigure/context.c++ +index 234257f9b94e..77f1bef35241 100644 +--- a/src/libpconfigure/context.c++ ++++ b/src/libpconfigure/context.c++ +@@ -22,12 +22,16 @@ + #include "language_list.h++" + #include <sstream> + ++#ifndef PCONFIGURE_LIBDIR ++#define PCONFIGURE_LIBDIR "lib" ++#endif ++ + context::context(void) + : type(context_type::DEFAULT), + prefix("/usr/local"), + gen_dir("obj/proc"), + bin_dir("bin"), +- lib_dir("lib"), ++ lib_dir(PCONFIGURE_LIBDIR), + libexec_dir("libexec"), + obj_dir("obj"), + src_dir("src"), |