diff --git a/gcc/ada/gcc-interface/Makefile.in b/gcc/ada/gcc-interface/Makefile.in index b851683f13f..4fd368283a9 100644 --- a/gcc/ada/gcc-interface/Makefile.in +++ b/gcc/ada/gcc-interface/Makefile.in @@ -2190,7 +2190,7 @@ ifeq ($(strip $(filter-out %x32 linux%,$(target_cpu) $(target_os))),) endif # Darwin (Mac OS X) -ifeq ($(strip $(filter-out darwin%,$(target_cpu))),) +ifeq ($(strip $(filter-out darwin%,$(target_os))),) SO_OPTS = -shared-libgcc LIBGNAT_TARGET_PAIRS = \ a-intnam.ads