[PATCH libAppleWM] simplify Makefile as per-target compilation flags are not needed

Gaetan Nadon memsize at videotron.ca
Fri Jul 23 18:31:02 PDT 2010


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



More information about the xorg-devel mailing list