summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-05 18:16:12 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-05 18:16:12 -0800
commit836f8742deda9754aa379894ff33d162d0c97172 (patch)
treeaef675155a1a1cdb6cdb726e2e34c5d2f414f7fc
parent7a0d8ea962969f07caa4fbb85c4529fbbda0b0ad (diff)
Add X.Org's standard C warning flags to AM_CFLAGSHEADmaster
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 6993ffc..39bc4ad 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -25,7 +25,7 @@
# _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) $(PCIACCESS_CFLAGS)
+AM_CFLAGS = $(BASE_CFLAGS) $(XORG_CFLAGS) $(PCIACCESS_CFLAGS)
apm_drv_la_LTLIBRARIES = apm_drv.la
apm_drv_la_LDFLAGS = -module -avoid-version
@@ -41,7 +41,7 @@ apm_drv_la_SOURCES = \
apm_i2c.c \
apm_regs.h \
apm_pcirename.h
-
+
EXTRA_DIST = \
apm_funcs.c \
apm_video.c