aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2020-08-16 20:10:47 -0400
committerDavid Edelsohn <dje.gcc@gmail.com>2020-08-17 14:05:41 -0400
commit26fdc47da756435f5411a858141521487478bcfa (patch)
treebf437f342887b598fa5f20f383764664f9d16af3
parent91e6226f880b048275a7ceedef716e159c7cefd9 (diff)
downloadgcc-26fdc47da756435f5411a858141521487478bcfa.zip
gcc-26fdc47da756435f5411a858141521487478bcfa.tar.gz
gcc-26fdc47da756435f5411a858141521487478bcfa.tar.bz2
aix: Support libgfortran libcaf_single.a as a FAT library
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.
-rw-r--r--libgfortran/config/t-aix3
1 files changed, 2 insertions, 1 deletions
diff --git a/libgfortran/config/t-aix b/libgfortran/config/t-aix
index e661286..e398b15 100644
--- a/libgfortran/config/t-aix
+++ b/libgfortran/config/t-aix
@@ -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
-