summaryrefslogtreecommitdiff
path: root/hash-style-detect.patch
diff options
context:
space:
mode:
authorArkadiusz Miśkiewicz2022-04-22 08:11:33 (GMT)
committerArkadiusz Miśkiewicz2022-04-22 08:11:33 (GMT)
commit83380ab9549d749fdfce371f030090942294442a (patch)
treecc4c320755ae1cc8f12045befacfe709d3bbddf9 /hash-style-detect.patch
parent6d64f4cdf23e076af4658a6e34312a47fcf8d044 (diff)
downloaduClibc-83380ab9549d749fdfce371f030090942294442a.zip
uClibc-83380ab9549d749fdfce371f030090942294442a.tar.gz
Rel 38; try to workaround 'Your binutils do not support --hash-style option, while you want to use it. Stop.'auto/th/uClibc-0.9.33.2-38
Diffstat (limited to 'hash-style-detect.patch')
-rw-r--r--hash-style-detect.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/hash-style-detect.patch b/hash-style-detect.patch
new file mode 100644
index 0000000..f5245f2
--- /dev/null
+++ b/hash-style-detect.patch
@@ -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