summaryrefslogtreecommitdiff
path: root/scripts/addToolVersion.sh
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-02-22 07:56:59 (GMT)
committerAlexey Neyman <stilor@att.net>2017-02-23 06:17:49 (GMT)
commit8397ad2c1a71992b441d73802f45be582c37b1e7 (patch)
tree6380992467e685751135f59f4becd784c2c771df /scripts/addToolVersion.sh
parent1468e996f75fe7b9c23c883d9367633cf3d0177e (diff)
Fix the build of elf2flt on Cygwin
The -lcygwin -lc actually breaks the build: elf2flt picks up the symbols for getopt/optarg via <getopt.h> in binutils-X.Y/include, where optarg is declared without dllimport attribute. Therefore it pulls in getopt() from libc/libcygwin, but since optarg is not prefixed with _imp__, it is pulled from libiberty. But the object file in libiberty also contains getopt() thus resulting in multiple definitions thereof. While there, kill extraneous -ldl passed into configure - configure detects -ldl successfully. Upstream: https://github.com/uclinux-dev/elf2flt/pull/6 Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/addToolVersion.sh')
0 files changed, 0 insertions, 0 deletions