diff options
author | David Edelsohn <dje.gcc@gmail.com> | 2020-08-17 20:19:38 -0400 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 2020-08-18 16:55:10 -0400 |
commit | 9599c9853a0284789eb8f897a4b5374df694b672 (patch) | |
tree | 80f0eb1690764a41193812e01452710deef349ea /libstdc++-v3/config/os | |
parent | b871301f09be7061904dc87880919d30e6afef8f (diff) | |
download | gcc-9599c9853a0284789eb8f897a4b5374df694b672.zip gcc-9599c9853a0284789eb8f897a4b5374df694b672.tar.gz gcc-9599c9853a0284789eb8f897a4b5374df694b672.tar.bz2 |
aix: Support libsupc++ as a FAT library
Build libstdc++++ static library libsupc++.a as a FAT 32/64 bit library.
libstdc++-v3/ChangeLog:
2020-08-18 David Edelsohn <dje.gcc@gmail.com>
Clement Chigot <clement.chigot@atos.net>
* config/os/aix/t-aix: Add complementary mode object files to
libsupc++.a
Diffstat (limited to 'libstdc++-v3/config/os')
-rw-r--r-- | libstdc++-v3/config/os/aix/t-aix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libstdc++-v3/config/os/aix/t-aix b/libstdc++-v3/config/os/aix/t-aix index a5d58fa..3e36bc8 100644 --- a/libstdc++-v3/config/os/aix/t-aix +++ b/libstdc++-v3/config/os/aix/t-aix @@ -2,8 +2,11 @@ ifeq ($(MULTIBUILDTOP),) BITS=$(shell if test -z "`$(CC) -x c -E /dev/null -g3 -o - | grep 64BIT`" ; then \ echo '64'; else echo '32'; fi) MAJOR=$(firstword $(subst :, ,$(libtool_VERSION))) +STOBJS=$(shell ar -X$(BITS) t ../ppc$(BITS)/$(PACKAGE)-v3/libsupc++/.libs/libsupc++.a) all-local: ar -X$(BITS) rc src/.libs/$(PACKAGE).a ../ppc$(BITS)/$(PACKAGE)-v3/src/.libs/$(PACKAGE).so.$(MAJOR) ar -X$(BITS) rc ../pthread/$(PACKAGE)-v3/src/.libs/$(PACKAGE).a ../pthread/ppc$(BITS)/$(PACKAGE)-v3/src/.libs/$(PACKAGE).so.$(MAJOR) + ar -X$(BITS) rc libsupc++/.libs/libsupc++.a ${addprefix ../ppc$(BITS)/$(PACKAGE)-v3/libsupc++/,$(STOBJS)} + ar -X$(BITS) rc ../pthread/$(PACKAGE)-v3/libsupc++/.libs/libsupc++.a ${addprefix ../pthread/ppc$(BITS)/$(PACKAGE)-v3/libsupc++/,$(STOBJS)} endif |