summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-08 13:40:05 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-08 13:40:05 -0800
commit950f00986f01710a7c336ad5fb414eea138f8282 (patch)
treefb0271e7d0ead2e0ed0f0486846c7e0576418eb1
parent991873d1e65526911854dcc1685ad40fba4fd2ba (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 764cb5f..ac7fa23 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)
neomagic_drv_la_LTLIBRARIES = neomagic_drv.la
neomagic_drv_la_LDFLAGS = -module -avoid-version
neomagic_drv_ladir = @moduledir@/drivers