[PATCH libAppleWM] simplify Makefile as per-target compilation flags are not needed
Jeremy Huddleston
jeremyhud at me.com
Sat Jul 24 14:03:29 PDT 2010
Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>
Sent from my iPhone...
On Jul 23, 2010, at 18:31, Gaetan Nadon <memsize at videotron.ca> wrote:
> We then do not need the AM_PROG_CC_C_O to detect compiler which
> do not accept both -c and -o together.
> The macro was missing, but it will no longer be needed.
>
> This setup is only needed when the same source is compiled
> multiple times with different compiler options.
>
> Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
> ---
> src/Makefile.am | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/Makefile.am b/src/Makefile.am
> index 05b6022..af94350 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -3,7 +3,7 @@ lib_LTLIBRARIES = libAppleWM.la
> libAppleWM_la_SOURCES = \
> applewm.c
>
> -libAppleWM_la_CFLAGS = \
> +AM_CFLAGS = \
> $(APPLEWM_CFLAGS) \
> $(MALLOC_ZERO_CFLAGS) \
> $(CWARNFLAGS) \
> --
> 1.6.0.4
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
More information about the xorg-devel
mailing list