aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libatomic/config/t-aix3
-rw-r--r--libgomp/config/t-aix3
2 files changed, 6 insertions, 0 deletions
diff --git a/libatomic/config/t-aix b/libatomic/config/t-aix
index 0860772..0e76b97 100644
--- a/libatomic/config/t-aix
+++ b/libatomic/config/t-aix
@@ -5,6 +5,9 @@ BITS=$(shell if test -z "`$(CC) -x c -E /dev/null -g3 -o - | grep 64BIT`" ; then
MAJOR=1
ARX=$(shell echo $(AR) | sed -e 's/-X[^ ]*//g')
all-local:
+ -rm -f .libs/$(PACKAGE).a ../pthread/$(PACKAGE)/.libs/$(PACKAGE).a
+ $(AR) rc .libs/$(PACKAGE).a .libs/$(PACKAGE).so.$(MAJOR)
+ $(AR) rc ../pthread/$(PACKAGE)/.libs/$(PACKAGE).a ../pthread/$(PACKAGE)/.libs/$(PACKAGE).so.$(MAJOR)
$(ARX) -X$(BITS) rc .libs/$(PACKAGE).a ../ppc$(BITS)/$(PACKAGE)/.libs/$(PACKAGE).so.$(MAJOR)
$(ARX) -X$(BITS) rc ../pthread/$(PACKAGE)/.libs/$(PACKAGE).a ../pthread/ppc$(BITS)/$(PACKAGE)/.libs/$(PACKAGE).so.$(MAJOR)
endif
diff --git a/libgomp/config/t-aix b/libgomp/config/t-aix
index 35bff8b..f85382f 100644
--- a/libgomp/config/t-aix
+++ b/libgomp/config/t-aix
@@ -4,6 +4,9 @@ BITS=$(shell if test -z "`$(CC) -x c -E /dev/null -g3 -o - | grep 64BIT`" ; then
ARX=$(shell echo $(AR) | sed -e 's/-X[^ ]*//g')
MAJOR=$(firstword $(subst :, ,$(libtool_VERSION)))
all-local:
+ -rm -f .libs/$(PACKAGE).a ../pthread/$(PACKAGE)/.libs/$(PACKAGE).a
+ $(AR) rc .libs/$(PACKAGE).a .libs/$(PACKAGE).so.$(MAJOR)
+ $(AR) rc ../pthread/$(PACKAGE)/.libs/$(PACKAGE).a ../pthread/$(PACKAGE)/.libs/$(PACKAGE).so.$(MAJOR)
$(ARX) -X$(BITS) rc .libs/$(PACKAGE).a ../ppc$(BITS)/$(PACKAGE)/.libs/$(PACKAGE).so.$(MAJOR)
$(ARX) -X$(BITS) rc ../pthread/$(PACKAGE)/.libs/$(PACKAGE).a ../pthread/ppc$(BITS)/$(PACKAGE)/.libs/$(PACKAGE).so.$(MAJOR)
endif