aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2015-07-17 07:14:25 +0000
committerJan Beulich <jbeulich@gcc.gnu.org>2015-07-17 07:14:25 +0000
commit180744c0cf8b5e148b38d7bb0bc0e91ee9a83ded (patch)
tree76188c095a10661d071e54292998971224b9695b /libgcc
parent5fa578f079d3e6577e8ec768951fec91468abe9d (diff)
downloadgcc-180744c0cf8b5e148b38d7bb0bc0e91ee9a83ded.zip
gcc-180744c0cf8b5e148b38d7bb0bc0e91ee9a83ded.tar.gz
gcc-180744c0cf8b5e148b38d7bb0bc0e91ee9a83ded.tar.bz2
libgcc: fix build with older make
Make up to 3.80 (documented as minimal permitted version) doesn't support "else if...". 2015-07-17 Jan Beulich <jbeulich@suse.com> * config/t-softfp: Split up "else ifneq". From-SVN: r225920
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog4
-rw-r--r--libgcc/config/t-softfp4
2 files changed, 7 insertions, 1 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 13b3a94..ac1fbb7 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,7 @@
+2015-07-17 Jan Beulich <jbeulich@suse.com>
+
+ * config/t-softfp: Split up "else ifneq".
+
2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
Cesar Philippidis <cesar@codesourcery.com>
Chung-Lin Tang <cltang@codesourcery.com>
diff --git a/libgcc/config/t-softfp b/libgcc/config/t-softfp
index 0c9673c..5f2b110 100644
--- a/libgcc/config/t-softfp
+++ b/libgcc/config/t-softfp
@@ -103,7 +103,8 @@ ifeq ($(enable_shared),yes)
fi
endif
echo '#endif' >> $@
-else ifneq ($(softfp_wrap_start),)
+else
+ifneq ($(softfp_wrap_start),)
softfp_file_list := $(addsuffix .c,$(softfp_func_list))
$(softfp_file_list):
@@ -114,6 +115,7 @@ else
softfp_file_list := \
$(addsuffix .c,$(addprefix $(srcdir)/soft-fp/,$(softfp_func_list)))
endif
+endif
# Disable missing prototype and type limit warnings. The prototypes
# for the functions in the soft-fp files have not been brought across