summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-07 10:00:19 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-07 10:00:19 -0800
commit09df931ce68c0a19e14da60e28fd4fa3b675de9e (patch)
tree6d871f77188ffd03e632712df84d4188deb30abb
parent14e430cab961dbe02ece71e6475aacd6f257ecee (diff)
Add X.Org's standard C warning flags to AM_CFLAGS
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/Makefile.am2
-rw-r--r--util/Makefile.am2
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