From 09df931ce68c0a19e14da60e28fd4fa3b675de9e Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 7 Jan 2024 10:00:19 -0800 Subject: Add X.Org's standard C warning flags to AM_CFLAGS Signed-off-by: Alan Coopersmith --- src/Makefile.am | 2 +- util/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index dc6d4f6..b5a086a 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@ @DRI_CFLAGS@ +AM_CFLAGS = $(BASE_CFLAGS) $(XORG_CFLAGS) $(DRI_CFLAGS) mga_drv_la_LTLIBRARIES = mga_drv.la mga_drv_la_LDFLAGS = -module -avoid-version mga_drv_ladir = @moduledir@/drivers diff --git a/util/Makefile.am b/util/Makefile.am index 734c7b3..1977b6f 100644 --- a/util/Makefile.am +++ b/util/Makefile.am @@ -1,4 +1,4 @@ -# $XFree86: $ +AM_CFLAGS = $(BASE_CFLAGS) # this is not even built in the monolith, so don't install it noinst_PROGRAMS = stormdwg -- cgit v1.2.3