summaryrefslogtreecommitdiff
path: root/patches/elf2flt/4820f0dbb77cd6564d5fa0817218fe2a1fb99f32
AgeCommit message (Collapse)AuthorFilesLines
2017-02-28Macos needs a local ELF header, tooAlexey Neyman2-4/+61
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-28Fix elf2flt build on Cygwin in a different wayAlexey Neyman2-81/+190
... after discussion with elf2flt maintainer. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-23Fix the build of elf2flt on CygwinAlexey Neyman1-0/+81
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>