diff options
Diffstat (limited to 'libgcc/config/rs6000/t-slibgcc-aix')
-rw-r--r-- | libgcc/config/rs6000/t-slibgcc-aix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgcc/config/rs6000/t-slibgcc-aix b/libgcc/config/rs6000/t-slibgcc-aix index e5f8a029ff8..b3bdda6f9a8 100644 --- a/libgcc/config/rs6000/t-slibgcc-aix +++ b/libgcc/config/rs6000/t-slibgcc-aix @@ -90,7 +90,7 @@ AR_FLAGS_FOR_TARGET = -X32_64 # Build and install AIX-style FAT libraries ifeq ($(MULTIBUILDTOP),) -BITS=$(shell if test -z "`ar -X64 t libgcc_s.a`" ; then \ +BITS=$(shell if test -z "`$(CC) -x c -E /dev/null -g3 -o - | grep 64BIT`" ; then \ echo '64'; else echo '32'; fi) all: all-multi ifeq ($(enable_shared),yes) |