mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-22 15:26:21 +00:00
config: use project wide xorg warnings variable
Use CWARNFLAGS as in all of xorg. There seems to be no reason why this module should be different. The warnings were updated recently for those who install the latest util-macros. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
1722b78128
commit
665b86664a
@ -18,6 +18,6 @@ intel_upload_blit_large_gtt_LDADD = $(BENCHMARK_LIBS)
|
||||
intel_upload_blit_large_map_LDADD = $(BENCHMARK_LIBS)
|
||||
intel_upload_blit_small_LDADD = $(BENCHMARK_LIBS)
|
||||
|
||||
AM_CFLAGS = $(DRM_CFLAGS) $(WARN_CFLAGS) \
|
||||
AM_CFLAGS = $(DRM_CFLAGS) $(CWARNFLAGS) \
|
||||
-I$(srcdir)/.. \
|
||||
-I$(srcdir)/../lib
|
||||
|
12
configure.ac
12
configure.ac
@ -65,18 +65,6 @@ if test "x$HAVE_GLIB" = xyes; then
|
||||
fi
|
||||
AM_CONDITIONAL(HAVE_GLIB, [test "x$HAVE_GLIB" = xyes])
|
||||
|
||||
dnl Use lots of warning flags with GCC
|
||||
|
||||
WARN_CFLAGS=""
|
||||
|
||||
if test "x$GCC" = "xyes"; then
|
||||
WARN_CFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes \
|
||||
-Wmissing-prototypes -Wmissing-declarations \
|
||||
-Wnested-externs -fno-strict-aliasing"
|
||||
fi
|
||||
|
||||
AC_SUBST([WARN_CFLAGS])
|
||||
|
||||
AC_ARG_ENABLE(shader-debugger,
|
||||
AS_HELP_STRING([--enable-shader-debugger],
|
||||
[Enable shader debugging support [default=no]]),
|
||||
|
@ -14,6 +14,6 @@ bin_PROGRAMS += \
|
||||
endif
|
||||
LDADD = ../lib/libintel_tools.la $(DRM_LIBS) $(PCIACCESS_LIBS)
|
||||
|
||||
AM_CFLAGS = $(DRM_CFLAGS) $(PCIACCESS_CFLAGS) $(WARN_CFLAGS) \
|
||||
AM_CFLAGS = $(DRM_CFLAGS) $(PCIACCESS_CFLAGS) $(CWARNFLAGS) \
|
||||
-I$(srcdir)/.. \
|
||||
-I$(srcdir)/../lib
|
||||
|
@ -1,6 +1,6 @@
|
||||
NULL=#
|
||||
|
||||
AM_CFLAGS = $(WARN_CFLAGS) -I$(srcdir)/..
|
||||
AM_CFLAGS = $(CWARNFLAGS) -I$(srcdir)/..
|
||||
libintel_tools_la_SOURCES = \
|
||||
intel_batchbuffer.h \
|
||||
intel_batchbuffer.c \
|
||||
|
@ -88,7 +88,7 @@ EXTRA_PROGRAMS = $(TESTS_progs) $(HANG)
|
||||
EXTRA_DIST = $(TESTS_scripts) check_drm_clients
|
||||
CLEANFILES = $(EXTRA_PROGRAMS)
|
||||
|
||||
AM_CFLAGS = $(DRM_CFLAGS) $(WARN_CFLAGS) \
|
||||
AM_CFLAGS = $(DRM_CFLAGS) $(CWARNFLAGS) \
|
||||
-I$(srcdir)/.. \
|
||||
-I$(srcdir)/../lib
|
||||
LDADD = ../lib/libintel_tools.la $(PCIACCESS_LIBS) $(DRM_LIBS)
|
||||
|
@ -43,6 +43,6 @@ EXTRA_DIST = $(bin_SCRIPTS)
|
||||
|
||||
LDADD = ../lib/libintel_tools.la $(DRM_LIBS) $(PCIACCESS_LIBS)
|
||||
|
||||
AM_CFLAGS = $(DRM_CFLAGS) $(PCIACCESS_CFLAGS) $(WARN_CFLAGS) \
|
||||
AM_CFLAGS = $(DRM_CFLAGS) $(PCIACCESS_CFLAGS) $(CWARNFLAGS) \
|
||||
-I$(srcdir)/.. \
|
||||
-I$(srcdir)/../lib
|
||||
|
Loading…
x
Reference in New Issue
Block a user