From 4da7c870b7055c7f777c1c819aae2362f4505bc8 Mon Sep 17 00:00:00 2001 From: Simon Guinot Date: Tue, 15 May 2007 18:57:20 +0200 Subject: [PATCH] Fix --enable-debug build. --- hw/xfree86/common/Makefile.am | 4 ++++ hw/xfree86/loader/Makefile.am | 4 ++++ 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/hw/xfree86/common/Makefile.am b/hw/xfree86/common/Makefile.am index 2274527..266e1b8 100644 --- a/hw/xfree86/common/Makefile.am +++ b/hw/xfree86/common/Makefile.am @@ -103,4 +103,8 @@ if LNXACPI XORG_CFLAGS += -DHAVE_ACPI endif +if DEBUG +XORG_CFLAGS += -DBUILDDEBUG +endif + AM_CFLAGS = $(XORG_CFLAGS) diff --git a/hw/xfree86/loader/Makefile.am b/hw/xfree86/loader/Makefile.am index 61bcb22..726d776 100644 --- a/hw/xfree86/loader/Makefile.am +++ b/hw/xfree86/loader/Makefile.am @@ -5,6 +5,10 @@ INCLUDES = $(XORG_INCS) -I$(srcdir)/../parser -I$(srcdir)/../dixmods/extmod \ -I$(srcdir)/../ddc -I$(srcdir)/../i2c -I$(srcdir)/../modes \ -I$(srcdir)/../ramdac +if DEBUG +XORG_CFLAGS += -DBUILDDEBUG +endif + #AM_LDFLAGS = -r AM_CFLAGS = -DIN_LOADER $(XORG_CFLAGS) -- 1.4.4.4