diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2010-02-16 10:37:21 -0500 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2010-02-16 10:37:21 -0500 |
commit | 1ad4c147bbaf1523adba2e9f4b289c0fb4360097 (patch) | |
tree | c9fb65f2dc106931dcab8ce6c8d218b4fa5b3d6a /src | |
parent | 253089a20d1496ef4102d06d603f1755e5e6e746 (diff) |
config: move CWARNFLAGS from configure.ac to Makefile.am
Compiler warning flags should be explicitly set in the makefile
rather than being merged with other packages compiler flags.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index f6517bd..edfb90a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -2,8 +2,10 @@ lib_LTLIBRARIES = libXxf86dga.la libXxf86dga_la_SOURCES = XF86DGA.c XF86DGA2.c -AM_CFLAGS = -I $(top_srcdir)/include \ - $(XXF86DGA_CFLAGS) $(MALLOC_ZERO_CFLAGS) +AM_CFLAGS = -I $(top_srcdir)/include \ + $(XXF86DGA_CFLAGS) \ + $(MALLOC_ZERO_CFLAGS) \ + $(CWARNFLAGS) libXxf86dga_la_LIBADD = $(XXF86DGA_LIBS) libXxf86dga_la_LDFLAGS = -version-number 1:0:0 |