From 102fe6d880e5b1cd1b06b2d29b528026918d6eb5 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 7 Jan 2024 09:53:23 -0800 Subject: Add X.Org's standard C warning flags to AM_CFLAGS Signed-off-by: Alan Coopersmith --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 0e447b8..0b9f47a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -23,7 +23,7 @@ # -avoid-version prevents gratuitous .0.0.0 version numbers on the end # _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@ +AM_CFLAGS = $(BASE_CFLAGS) $(XORG_CFLAGS) i740_drv_la_LTLIBRARIES = i740_drv.la i740_drv_la_LDFLAGS = -module -avoid-version i740_drv_ladir = @moduledir@/drivers -- cgit v1.2.3