summaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorjbeulich <jbeulich@138bc75d-0d04-0410-961f-82ee72b054a4>2015-07-17 07:14:25 +0000
committerjbeulich <jbeulich@138bc75d-0d04-0410-961f-82ee72b054a4>2015-07-17 07:14:25 +0000
commitc780eb05a8618565c2b8e6b71af8165436bedeb8 (patch)
tree76188c095a10661d071e54292998971224b9695b /libgcc
parent0bd152479bbb04a800b928c0191341bf4874b493 (diff)
downloadgcc-c780eb05a8618565c2b8e6b71af8165436bedeb8.tar.gz
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". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225920 138bc75d-0d04-0410-961f-82ee72b054a4
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 13b3a948557..ac1fbb75be6 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 0c9673c7bdc..5f2b1103690 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