mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-04-25 19:00:42 +02:00
When using clang -O4, the compiled test object is output in bitcode format rather than as an ELF object, so when we grep the test value from the object it fails. To work around this, go ahead and link the test object into an executable, and then grep against this native binary instead of the compiler's intermediary object. We need to add __attribute__((used)) to ensure the d variable doesn't get optimized out during linking, since it's not referenced in the test's main(). Patch authored by cmuelle8 <abendstund@gmail.com> Reviewed-by: Bryce Harrington <b.harrington@samsung.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=63310 |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| aclocal.cairo.m4 | ||
| aclocal.compare.m4 | ||
| aclocal.enable.m4 | ||
| aclocal.float.m4 | ||
| aclocal.gtk-doc.m4 | ||
| aclocal.makefile.m4 | ||
| aclocal.pkg.m4 | ||
| configure.ac.analysis | ||
| configure.ac.features | ||
| configure.ac.noversion | ||
| configure.ac.pthread | ||
| configure.ac.system | ||
| configure.ac.tools | ||
| configure.ac.version | ||
| configure.ac.warnings | ||
| Makefile.am.analysis | ||
| Makefile.am.changelog | ||
| Makefile.am.common | ||
| Makefile.am.gtk-doc | ||
| Makefile.am.releasing | ||
| Makefile.win32.common | ||
| Makefile.win32.features | ||
| Makefile.win32.features-h | ||
| Makefile.win32.inform | ||