aix: Support libgfortran libcaf_single.a as a FAT library
authorDavid Edelsohn <dje.gcc@gmail.com>
Mon, 17 Aug 2020 00:10:47 +0000 (20:10 -0400)
committerDavid Edelsohn <dje.gcc@gmail.com>
Mon, 17 Aug 2020 18:05:41 +0000 (14:05 -0400)
Build libgfortran static library libcaf_single.a as a FAT 32/64 bit library.

libgfortran/ChangeLog:

2020-08-17  David Edelsohn  <dje.gcc@gmail.com>
    Clement Chigot  <clement.chigot@atos.net>

* config/t-aix: Add complementary mode object file to libcaf_single.a.

libgfortran/config/t-aix

index e661286da123a1f3ed848504a48b3f25432f82f6..e398b15c9eb79c3c47549840b814de823e14163f 100644 (file)
@@ -6,5 +6,6 @@ MAJOR=5
 all-local:
        ar -X$(BITS) rc .libs/$(PACKAGE).a ../ppc$(BITS)/$(PACKAGE)/.libs/$(PACKAGE).so.$(MAJOR)
        ar -X$(BITS) rc ../pthread/$(PACKAGE)/.libs/$(PACKAGE).a ../pthread/ppc$(BITS)/$(PACKAGE)/.libs/$(PACKAGE).so.$(MAJOR)
+       ar -X$(BITS) rc .libs/libcaf_single.a ../ppc$(BITS)/$(PACKAGE)/.libs/$(libcaf_single_la_OBJECTS:.lo=.o)
+       ar -X$(BITS) rc ../pthread/$(PACKAGE)/.libs/libcaf_single.a ../pthread/ppc$(BITS)/$(PACKAGE)/.libs/$(libcaf_single_la_OBJECTS:.lo=.o)
 endif
-