diff options
author | Gregory M. Tuner <gmt@be-evil.net> | 2014-05-31 14:31:11 -0700 |
---|---|---|
committer | Gregory M. Tuner <gmt@be-evil.net> | 2014-05-31 14:31:11 -0700 |
commit | 072267510a6e211d5025fe42052414c3f24d02f8 (patch) | |
tree | f7012a357f2a4eaf8d476e2fd72e3ffd9bcb08ba /eclass/multilib-build.eclass | |
parent | media-libs/imlib: fix more bugs (diff) | |
download | gmt-072267510a6e211d5025fe42052414c3f24d02f8.tar.gz gmt-072267510a6e211d5025fe42052414c3f24d02f8.tar.bz2 gmt-072267510a6e211d5025fe42052414c3f24d02f8.zip |
eclass/multilib-build: fix @wrapped executables
The updated format of multilib-build variants in multibuild broke the
native ABI constants in @wrapped executables. This restores them to
their former glory by trimming the extra junk out.
Signed-off-by: Gregory M. Tuner <gmt@be-evil.net>
Diffstat (limited to 'eclass/multilib-build.eclass')
-rw-r--r-- | eclass/multilib-build.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/multilib-build.eclass b/eclass/multilib-build.eclass index edbd420..a2decd9 100644 --- a/eclass/multilib-build.eclass +++ b/eclass/multilib-build.eclass @@ -870,7 +870,7 @@ _EOF_ #define DEBUG() ($( if has debug ${IUSE} && use debug; then echo 1; else echo 0; fi )) #define dprintf if (DEBUG()) fprintf - static const char default_abi_prefix[] = "-$(multibuild_get_best_variant)"; + static const char default_abi_prefix[] = "-$(x=$(multibuild_get_best_variant); echo ${x#*.})"; static const char f[] = "${EPREFIX}/${f}"; int main(int argc, char *argv[]) { |