From 836f8742deda9754aa379894ff33d162d0c97172 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 5 Jan 2024 18:16:12 -0800 Subject: Add X.Org's standard C warning flags to AM_CFLAGS Signed-off-by: Alan Coopersmith --- src/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 6993ffc..39bc4ad 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -25,7 +25,7 @@ # _ladir passes a dummy rpath to libtool so the thing will actually link # TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc. -AM_CFLAGS = $(XORG_CFLAGS) $(PCIACCESS_CFLAGS) +AM_CFLAGS = $(BASE_CFLAGS) $(XORG_CFLAGS) $(PCIACCESS_CFLAGS) apm_drv_la_LTLIBRARIES = apm_drv.la apm_drv_la_LDFLAGS = -module -avoid-version @@ -41,7 +41,7 @@ apm_drv_la_SOURCES = \ apm_i2c.c \ apm_regs.h \ apm_pcirename.h - + EXTRA_DIST = \ apm_funcs.c \ apm_video.c -- cgit v1.2.3