From 9eae39049bcb0e0311e8bf49dd4cfb059d80ea50 Mon Sep 17 00:00:00 2001 From: Matthias Klose Date: Thu, 15 Nov 2012 11:58:42 +0000 Subject: [PATCH] Makefile.in (if_multiarch): Don't use a GNU make 3.81 feature. 2012-11-15 Matthias Klose * Makefile.in (if_multiarch): Don't use a GNU make 3.81 feature. From-SVN: r193529 --- gcc/ChangeLog | 4 ++++ gcc/Makefile.in | 10 ++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c27ce1638db..4481b6ff498 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2012-11-15 Matthias Klose + + * Makefile.in (if_multiarch): Don't use a GNU make 3.81 feature. + 2012-11-14 Jan Hubicka PR bootstrap/55051 diff --git a/gcc/Makefile.in b/gcc/Makefile.in index fb2fd8657a3..ec13e2d5d1f 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -535,11 +535,13 @@ enable_multiarch = @enable_multiarch@ with_float = @with_float@ ifeq ($(enable_multiarch),yes) if_multiarch = $(1) -else ifeq ($(enable_multiarch),auto) - # SYSTEM_HEADER_DIR is makefile syntax, cannot be evaluated in configure.ac - if_multiarch = $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib/*/crti.o),$(1)) else - if_multiarch = + ifeq ($(enable_multiarch),auto) + # SYSTEM_HEADER_DIR is makefile syntax, cannot be evaluated in configure.ac + if_multiarch = $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib/*/crti.o),$(1)) + else + if_multiarch = + endif endif # ------------------------