compile parseSpec with -D_GNU_SOURCE to eliminate stupid 'warning: implicit declarati...
authorMarc Fiuczynski <mef@cs.princeton.edu>
Thu, 19 Jul 2007 20:39:33 +0000 (20:39 +0000)
committerMarc Fiuczynski <mef@cs.princeton.edu>
Thu, 19 Jul 2007 20:39:33 +0000 (20:39 +0000)
Rules.mk

index 4cfa2f8..462d208 100644 (file)
--- a/Rules.mk
+++ b/Rules.mk
@@ -4,7 +4,7 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2003-2006 The Trustees of Princeton University
 #
-# $Id: Rules.mk,v 1.32 2007/03/02 20:53:00 faiyaza Exp $
+# $Id: Rules.mk,v 1.33 2007/03/19 16:25:04 thierry Exp $
 #
 
 # Base rpmbuild in the current directory
@@ -38,7 +38,7 @@ endif
 
 MK := tmp/$(package).mk
 
-parseSpec: CFLAGS := -g -Wall
+parseSpec: CFLAGS := -g -Wall -D_GNU_SOURCE
 
 parseSpec: LDFLAGS := -lrpm -lrpmbuild