* gcc-interface/Makefile.in: Fix ARM/Darwin configuration.
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 1 Jun 2015 09:16:55 +0000 (09:16 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 1 Jun 2015 09:16:55 +0000 (09:16 +0000)
From-SVN: r223924

gcc/ada/ChangeLog
gcc/ada/gcc-interface/Makefile.in

index 61fb680ddb0feb87dd0bc5875fe1acbc09ae3bcf..079828ec3f971e4bcb10a8c86a7e5f2d5d384072 100644 (file)
@@ -1,3 +1,7 @@
+2015-06-01  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gcc-interface/Makefile.in: Fix ARM/Darwin configuration.
+
 2015-06-01  Pierre-Marie de Rodat  <derodat@adacore.com>
 
        * gcc-interface/utils.c (scale_by_factor_of): When handling a function
index 90aedb575d753a2727e0a0026b28b00962a2470d..6f7615a39410f89908f081d167a3cadefdc08bce 100644 (file)
@@ -1,5 +1,5 @@
 # Makefile for GNU Ada Compiler (GNAT).
-#   Copyright (C) 1994-2014 Free Software Foundation, Inc.
+#   Copyright (C) 1994-2015 Free Software Foundation, Inc.
 
 #This file is part of GCC.
 
@@ -2338,11 +2338,12 @@ ifeq ($(strip $(filter-out darwin%,$(target_os))),)
     endif
   endif
 
-  ifeq ($(strip $(filter-out arm,$(arch))),)
+  ifeq ($(strip $(filter-out arm,$(target_cpu))),)
     LIBGNAT_TARGET_PAIRS += \
       s-intman.adb<s-intman-susv3.adb \
       s-osprim.adb<s-osprim-darwin.adb \
-      $(ATOMICS_TARGET_PAIRS)
+      $(ATOMICS_TARGET_PAIRS) \
+      $(ATOMICS_BUILTINS_TARGET_PAIRS)
 
     LIBGNAT_TARGET_PAIRS += \
       system.ads<system-darwin-arm.ads