[PATCH input-mouse 2/2] config: use AM_CFLAGS as both variables contain C flags
Alan Coopersmith
Alan.Coopersmith at Sun.COM
Tue Mar 9 14:09:26 PST 2010
They're separate there since that was one of the modules I'd actually added
lint support to, and lint needs the -I/-D flags that are passed in CPPFLAGS,
but not the -W/-v flags from CWARNFLAGS.
-alan-
Gaetan Nadon wrote:
> It's more for consistency with other modules.
>
> Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
> ---
> src/Makefile.am | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/src/Makefile.am b/src/Makefile.am
> index 0857c98..ec18c5c 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -18,8 +18,7 @@
> # IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
> # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
>
> -AM_CFLAGS = $(CWARNFLAGS)
> -AM_CPPFLAGS = $(XORG_CFLAGS)
> +AM_CFLAGS = $(XORG_CFLAGS) $(CWARNFLAGS)
>
> # this is obnoxious:
> # -module lets us name the module exactly how we want
--
-Alan Coopersmith- alan.coopersmith at sun.com
Oracle Solaris Platform Engineering: X Window System
More information about the xorg-devel
mailing list