From 180744c0cf8b5e148b38d7bb0bc0e91ee9a83ded Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Fri, 17 Jul 2015 07:14:25 +0000 Subject: [PATCH] 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 * config/t-softfp: Split up "else ifneq". From-SVN: r225920 --- libgcc/ChangeLog | 4 ++++ libgcc/config/t-softfp | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) 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 + + * config/t-softfp: Split up "else ifneq". + 2015-07-14 Sandra Loosemore Cesar Philippidis Chung-Lin Tang 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 -- 2.30.2