SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
25
lang/gcc/8/patches/patch-libgcc_config_t-hardfp
Normal file
25
lang/gcc/8/patches/patch-libgcc_config_t-hardfp
Normal file
|
@ -0,0 +1,25 @@
|
|||
--- libgcc/config/t-hardfp.orig Mon Jan 4 15:30:50 2016
|
||||
+++ libgcc/config/t-hardfp Tue Aug 23 15:48:20 2016
|
||||
@@ -60,11 +60,11 @@ hardfp_func_list += $(foreach pair, $(hardfp_truncatio
|
||||
hardfp_func_list := $(filter-out $(hardfp_exclusions),$(hardfp_func_list))
|
||||
|
||||
# Regexp for matching a floating-point mode.
|
||||
-hardfp_mode_regexp := $(shell echo $(hardfp_float_modes) | sed 's/ /\\|/g')
|
||||
+hardfp_mode_regexp := $(shell echo $(hardfp_float_modes) | gsed 's/ /\\|/g')
|
||||
|
||||
# Regexp for matching the end of a function name, after the last
|
||||
# floating-point mode.
|
||||
-hardfp_suffix_regexp := $(shell echo $(hardfp_int_modes) 2 3 | sed 's/ /\\|/g')
|
||||
+hardfp_suffix_regexp := $(shell echo $(hardfp_int_modes) 2 3 | gsed 's/ /\\|/g')
|
||||
|
||||
# Add -D options to define:
|
||||
# FUNC: the function name (e.g. __addsf3)
|
||||
@@ -73,7 +73,7 @@ hardfp_suffix_regexp := $(shell echo $(hardfp_int_mode
|
||||
# TYPE: the last floating-point mode (e.g. sf)
|
||||
hardfp_defines_for = \
|
||||
$(shell echo $1 | \
|
||||
- sed 's/\(.*\)\($(hardfp_mode_regexp)\)\($(hardfp_suffix_regexp)\|\)$$/-DFUNC=__& -DOP_\1\3 -DTYPE=\2/')
|
||||
+ gsed 's/\(.*\)\($(hardfp_mode_regexp)\)\($(hardfp_suffix_regexp)\|\)$$/-DFUNC=__& -DOP_\1\3 -DTYPE=\2/')
|
||||
|
||||
hardfp-o = $(patsubst %,%$(objext),$(hardfp_func_list))
|
||||
$(hardfp-o): %$(objext): $(srcdir)/config/hardfp.c
|
Loading…
Add table
Add a link
Reference in a new issue