]> git.pld-linux.org Git - packages/uClibc.git/commitdiff
Rel 38; try to workaround 'Your binutils do not support --hash-style option, while... auto/th/uClibc-0.9.33.2-38
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 22 Apr 2022 08:11:33 +0000 (10:11 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 22 Apr 2022 08:11:33 +0000 (10:11 +0200)
hash-style-detect.patch [new file with mode: 0644]
uClibc.spec

diff --git a/hash-style-detect.patch b/hash-style-detect.patch
new file mode 100644 (file)
index 0000000..f5245f2
--- /dev/null
@@ -0,0 +1,11 @@
+--- uClibc-0.9.33.2/Rules.mak~ 2022-04-22 10:04:03.000000000 +0200
++++ uClibc-0.9.33.2/Rules.mak  2022-04-22 10:08:16.933174949 +0200
+@@ -170,7 +170,7 @@ check_as=$(shell \
+       if $(CC) -Wa,$(1) -Wa,-Z -c -o /dev/null -xassembler /dev/null > /dev/null 2>&1; \
+       then echo "-Wa,$(1)"; fi)
+ check_ld=$(shell \
+-      if $(LD) $(1) -o /dev/null -b binary /dev/null > /dev/null 2>&1; \
++      if $(LD) $(1) -o /dev/null -b binary /dev/zero > /dev/null 2>&1; \
+       then echo "$(1)"; fi)
+ # Use variable indirection here so that we can have variable
index 71bf2d4e073310e109dae5f96c894c47fb2f71c4..dbbc8399896147af4b63be737ce3ab1fe5544ccd 100644 (file)
@@ -12,7 +12,7 @@ Summary:      C library optimized for size
 Summary(pl.UTF-8):     Biblioteka C zoptymalizowana na rozmiar
 Name:          uClibc
 Version:       0.9.33.2
-Release:       37
+Release:       38
 Epoch:         4
 License:       LGPL v2.1
 Group:         Libraries
@@ -25,6 +25,7 @@ Patch3:               %{name}-debug.patch
 Patch4:                %{name}-stdio-unhide.patch
 Patch5:                %{name}-kernel-types.patch
 Patch6:                %{name}-features.patch
+Patch7:                hash-style-detect.patch
 URL:           http://uclibc.org/
 BuildRequires: binutils >= 2.16
 BuildRequires: cpp
@@ -97,6 +98,7 @@ Biblioteki statyczne uClibc.
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 
 # ARCH is already determined by uname -m
 %ifarch %{ix86}
This page took 0.272086 seconds and 4 git commands to generate.