mirror of
https://github.com/X11Libre/xf86-video-r128.git
synced 2026-03-23 17:19:19 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user