Summary: | xorg/util/macros - Add macros to check fvisbility support and generic warn cflags | ||
---|---|---|---|
Product: | xorg | Reporter: | Paulo César Pereira de Andrade <pcpa> |
Component: | Server/General | Assignee: | Xorg Project Team <xorg-team> |
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> |
Severity: | normal | ||
Priority: | medium | Keywords: | patch |
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Description
Paulo César Pereira de Andrade
2008-02-28 22:59:18 UTC
Created attachment 15276 [details] [review] 0001-Add-XORG_CHECK_SYMBOLS-and-XORG_WARN_CFLAGS-macros.patch New version that applies cleanly to git master. Created attachment 15325 [details] [review] 0001-Add-XORG_CHECK_SYMBOLS-and-XORG_WARN_CFLAGS-macros.patch This updated version checks of #defined __GNUC__ instead of including Xfuncproto.h. It is not required to check gcc version as it is "trying" to compile the small code to check for visibility support. Not including Xfuncproto.h is required, because it would include the already installed Xfuncproto.h in the default search path, that may not match the new Xfuncproto.h. Created attachment 16467 [details] [review] 0001-Add-XORG_CHECK_SYMBOLS-and-XORG_WARN_CFLAGS-macros.patch Remaking patch with a minor modification. To be cached, variables must contain "_cv_", so corrected accordingly the variable. visibility was add to XORG_CFLAGS, and compiler warnings macro to util-macros 1.2.0. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.