7fc9190f0e
* gcc is kept at -Np0, because of void-cross ```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
12 lines
520 B
Diff
12 lines
520 B
Diff
--- a/libiberty/Makefile.in 2020-12-03 20:45:14.000000000 +0100
|
|
+++ b/libiberty/Makefile.in 2021-01-23 18:39:45.891324445 +0100
|
|
@@ -111,7 +111,7 @@
|
|
|
|
INCDIR=$(srcdir)/$(MULTISRCTOP)../include
|
|
|
|
-COMPILE.c = $(CC) -c @DEFS@ $(CFLAGS) $(CPPFLAGS) -I. -I$(INCDIR) \
|
|
- $(HDEFINES) @ac_libiberty_warn_cflags@ -D_GNU_SOURCE \
|
|
+COMPILE.c = $(CC) -c @DEFS@ $(CFLAGS) $(CPPFLAGS) -fPIC -I. -I$(INCDIR) \
|
|
+ $(HDEFINES) @ac_libiberty_warn_cflags@ -D_DEFAULT_SOURCE \
|
|
@CET_HOST_FLAGS@
|
|
|