summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-15 11:38:33 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-15 13:38:36 -0800
commitd587d7062856aeca74f4c1756566664ecae4ec9f (patch)
tree6fc79326931c73ab3278ad3787091f92521651ce
parent8c76b0bdfafc8dd5952a286af16e6a5629152c80 (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
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index b25302f..f52d6fb 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)
sunleo_drv_la_LTLIBRARIES = sunleo_drv.la
sunleo_drv_la_LDFLAGS = -module -avoid-version
sunleo_drv_ladir = @moduledir@/drivers