Add X.Org's standard C warning flags to AM_CFLAGS

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
Alan Coopersmith
2024-01-08 15:01:43 -08:00
parent d84143baf5
commit 96a44413d2
2 changed files with 1 additions and 5 deletions

View File

@@ -42,10 +42,6 @@ XORG_DEFAULT_OPTIONS
# Initialize libtool
LT_INIT([disable-static])
if test "x$GCC" = "xyes"; then
CPPFLAGS="$CPPFLAGS -Wall"
fi
AH_TOP([#include "xorg-server.h"])
# Define a configure option for an alternate module directory

View File

@@ -36,7 +36,7 @@ R128_EXA_SRCS = \
r128_exa_render.c
endif
AM_CFLAGS = @XORG_CFLAGS@ @DRI_CFLAGS@
AM_CFLAGS = $(BASE_CFLAGS) $(XORG_CFLAGS) $(DRI_CFLAGS)
r128_drv_la_LTLIBRARIES = r128_drv.la
r128_drv_la_LDFLAGS = -module -avoid-version