summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKevin E Martin <kem@kem.org>2005-12-03 04:41:51 +0000
committerKevin E Martin <kem@kem.org>2005-12-03 04:41:51 +0000
commit47a9625fe9e29c4ead2b7209c0d064aeff415eaf (patch)
tree7fd62fd4aa1a2f4ff28b69441d024307338fed0b /src
parentdbd43adfb46efddc1380895e192d96982470cb4d (diff)
Add check and cflags for malloc(0) returning NULL.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 0f86b0c..dc22283 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,6 +2,6 @@ lib_LTLIBRARIES = libXxf86dga.la
libXxf86dga_la_SOURCES = XF86DGA.c XF86DGA2.c
-AM_CFLAGS = $(XXF86DGA_CFLAGS)
+AM_CFLAGS = $(XXF86DGA_CFLAGS) $(MALLOC_ZERO_CFLAGS)
libXxf86dga_la_LIBADD = $(XXF86DGA_LIBS)
libXxf86dga_la_LDFLAGS = -version-number 1:0:0