[cairo-bugs] [Bug 34011] headers-standalone target is incorrect for some non-gcc compilers
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Feb 10 22:27:22 PST 2011
https://bugs.freedesktop.org/show_bug.cgi?id=34011
Behdad Esfahbod <freedesktop at behdad.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |freedesktop at behdad.org
--- Comment #1 from Behdad Esfahbod <freedesktop at behdad.org> 2011-02-10 22:27:20 PST ---
Looks good. How about this minor variation:
- $(COMPILE) -o /dev/null $(srcdir)/$$f || status=false; \
+ echo "#include \"$(srcdir)/$$f\"" > conftest-headers.c; \
+ echo "int main(int argc, char * argv[]) {}" >> conftest-headers.c; \
+ $(COMPILE) -o /dev/null headers-standalone-tmp.c || status=false; \
+ $(RM) headers-standalone-tmp.c; \
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the cairo-bugs
mailing list