Commit 180744c0 by Jan Beulich Committed by Jan Beulich

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
parent 5fa578f0
2015-07-17 Jan Beulich <jbeulich@suse.com>
* config/t-softfp: Split up "else ifneq".
2015-07-14 Sandra Loosemore <sandra@codesourcery.com> 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
Cesar Philippidis <cesar@codesourcery.com> Cesar Philippidis <cesar@codesourcery.com>
Chung-Lin Tang <cltang@codesourcery.com> Chung-Lin Tang <cltang@codesourcery.com>
......
...@@ -103,7 +103,8 @@ ifeq ($(enable_shared),yes) ...@@ -103,7 +103,8 @@ ifeq ($(enable_shared),yes)
fi fi
endif endif
echo '#endif' >> $@ echo '#endif' >> $@
else ifneq ($(softfp_wrap_start),) else
ifneq ($(softfp_wrap_start),)
softfp_file_list := $(addsuffix .c,$(softfp_func_list)) softfp_file_list := $(addsuffix .c,$(softfp_func_list))
$(softfp_file_list): $(softfp_file_list):
...@@ -114,6 +115,7 @@ else ...@@ -114,6 +115,7 @@ else
softfp_file_list := \ softfp_file_list := \
$(addsuffix .c,$(addprefix $(srcdir)/soft-fp/,$(softfp_func_list))) $(addsuffix .c,$(addprefix $(srcdir)/soft-fp/,$(softfp_func_list)))
endif endif
endif
# Disable missing prototype and type limit warnings. The prototypes # Disable missing prototype and type limit warnings. The prototypes
# for the functions in the soft-fp files have not been brought across # for the functions in the soft-fp files have not been brought across
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment