commit | e169ba2b83c780058fe626856cfdb5903a85cb97 | [log] [tgz] |
---|---|---|
author | Kylie McClain <somasis@exherbo.org> | Fri Apr 29 21:04:07 2016 -0400 |
committer | Kylie McClain <somasis@exherbo.org> | Fri Apr 29 21:31:59 2016 -0400 |
tree | b3396d1b5ea602d6a5844ea574cc939b2d3de130 | |
parent | 9de24a3ff31c7446de29c1adcd9276fd7ba93897 [diff] |
Fix usage on musl libc A gcc compiled on musl does not define __gnu_linux__, it defines __linux__. Only on glibc does __gnu_linux__ get defined, but both define __linux__, so we should check for that instead. With this patch, libffi works perfectly, and passes its testsuite entirely on musl libc systems.