Test unix-smail fails when compiling with --static flag. Adding a prefix to getopt, optind and opterr in order to avoid clashing with libc while linking.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Does this work with all linkers? I don't see this document in the manpage of apples ld64.
Comment Actions
This was only tested with gcc for mips and x86_64 but renaming the function and the variables would be a more general solution.
Comment Actions
Since I don't perceive a requirement that the benchmark source continue to exactly match that of the original, I would prefer just changing the benchmark source to not conflict.