Make up to 3.80 (documented as minimal permitted version) doesn't
support "else if...".

2015-07-16  Jan Beulich  <jbeul...@suse.com>

        * config/t-softfp: Split up "else ifneq".

--- 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



libgcc: fix build with older make

Make up to 3.80 (documented as minimal permitted version) doesn't
support "else if...".

2015-07-16  Jan Beulich  <jbeul...@suse.com>

        * config/t-softfp: Split up "else ifneq".

--- 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

Reply via email to