diff options
author | Yunlian Jiang <yunlian@google.com> | 2015-05-22 20:53:45 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2015-05-22 20:53:45 +0000 |
commit | f50f17e6707da098ce7542741f67830bc5f80fc0 (patch) | |
tree | da3a764bef8f53ed9fa5173bc66cea4ee5d4e8f7 /libiberty/Makefile.in | |
parent | af563d4bb754b06f828d29aa74b5b663353cec97 (diff) | |
download | gcc-f50f17e6707da098ce7542741f67830bc5f80fc0.zip gcc-f50f17e6707da098ce7542741f67830bc5f80fc0.tar.gz gcc-f50f17e6707da098ce7542741f67830bc5f80fc0.tar.bz2 |
libiberty.h (asprintf): Don't declare if HAVE_DECL_ASPRINTF is not defined.
include/:
* libiberty.h (asprintf): Don't declare if HAVE_DECL_ASPRINTF is
not defined.
libiberty/:
* configure.ac: Add AC_GNU_SOURCE.
* Makefile.in (COMPILE.c): Add -D_GNU_SOURCE.
* configure, config.in: Rebuild.
* floatformat.c (_GNU_SOURCE): Don't define if already defined.
From-SVN: r223589
Diffstat (limited to 'libiberty/Makefile.in')
-rw-r--r-- | libiberty/Makefile.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in index f06cc69..7d7e2f4 100644 --- a/libiberty/Makefile.in +++ b/libiberty/Makefile.in @@ -3,7 +3,7 @@ # # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, -# 2012, 2014 Free Software Foundation +# 2012, 2014, 2015 Free Software Foundation # # This file is part of the libiberty library. # Libiberty is free software; you can redistribute it and/or @@ -113,7 +113,8 @@ installcheck: installcheck-subdir INCDIR=$(srcdir)/$(MULTISRCTOP)../include -COMPILE.c = $(CC) -c @DEFS@ $(CFLAGS) $(CPPFLAGS) -I. -I$(INCDIR) $(HDEFINES) @ac_libiberty_warn_cflags@ +COMPILE.c = $(CC) -c @DEFS@ $(CFLAGS) $(CPPFLAGS) -I. -I$(INCDIR) \ + $(HDEFINES) @ac_libiberty_warn_cflags@ -D_GNU_SOURCE # Just to make sure we don't use a built-in rule with VPATH .c.$(objext): |