From fa01c71cab3f41cdc54d5d08465811b02d5f710a Mon Sep 17 00:00:00 2001 From: Marc Fiuczynski Date: Thu, 19 Jul 2007 20:39:33 +0000 Subject: [PATCH] compile parseSpec with -D_GNU_SOURCE to eliminate stupid 'warning: implicit declaration of function strnlen' message --- Rules.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rules.mk b/Rules.mk index 4cfa2f84..462d208c 100644 --- a/Rules.mk +++ b/Rules.mk @@ -4,7 +4,7 @@ # Mark Huang # 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 -- 2.47.0