diff libaf/Makefile @ 15596:667c78f0fc60

- correct the argument in configure check for lrintf() to avoid a warning - add -D_GNU_SOURCE where lrintf() is used, for the cases when -std=gnu99 isn't available
author henry
date Mon, 30 May 2005 08:57:30 +0000
parents ab617c2e24d3
children d3d30585a9d2
line wrap: on
line diff
--- a/libaf/Makefile	Mon May 30 08:45:21 2005 +0000
+++ b/libaf/Makefile	Mon May 30 08:57:30 2005 +0000
@@ -9,7 +9,7 @@
 
 OBJS=$(SRCS:.c=.o)
 
-CFLAGS  = $(OPTFLAGS) -I. -Wall $(EXTRA_INC)
+CFLAGS  = $(OPTFLAGS) -I. -Wall $(EXTRA_INC) -D_GNU_SOURCE
 
 ifeq ($(TARGET_OS),MINGW32)
 CFLAGS += -D_IO_H_