mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 04:49:54 +08:00
Use AC_GNU_SOURCE.
This commit is contained in:
@ -10,7 +10,7 @@ ACLOCAL_AMFLAGS = -I ../bfd -I ../config
|
|||||||
|
|
||||||
AM_CXXFLAGS = $(WARN_CXXFLAGS) $(LFS_CXXFLAGS)
|
AM_CXXFLAGS = $(WARN_CXXFLAGS) $(LFS_CXXFLAGS)
|
||||||
|
|
||||||
INCLUDES = -D_GNU_SOURCE \
|
INCLUDES = \
|
||||||
-I$(srcdir) -I$(srcdir)/../include -I$(srcdir)/../elfcpp \
|
-I$(srcdir) -I$(srcdir)/../include -I$(srcdir)/../elfcpp \
|
||||||
-DLOCALEDIR="\"$(datadir)/locale\"" \
|
-DLOCALEDIR="\"$(datadir)/locale\"" \
|
||||||
-DBINDIR="\"$(bindir)\"" -DTOOLBINDIR="\"$(tooldir)/bin\"" \
|
-DBINDIR="\"$(bindir)\"" -DTOOLBINDIR="\"$(tooldir)/bin\"" \
|
||||||
|
@ -271,7 +271,7 @@ SUBDIRS = po testsuite
|
|||||||
tooldir = $(exec_prefix)/$(target_alias)
|
tooldir = $(exec_prefix)/$(target_alias)
|
||||||
ACLOCAL_AMFLAGS = -I ../bfd -I ../config
|
ACLOCAL_AMFLAGS = -I ../bfd -I ../config
|
||||||
AM_CXXFLAGS = $(WARN_CXXFLAGS) $(LFS_CXXFLAGS)
|
AM_CXXFLAGS = $(WARN_CXXFLAGS) $(LFS_CXXFLAGS)
|
||||||
INCLUDES = -D_GNU_SOURCE \
|
INCLUDES = \
|
||||||
-I$(srcdir) -I$(srcdir)/../include -I$(srcdir)/../elfcpp \
|
-I$(srcdir) -I$(srcdir)/../include -I$(srcdir)/../elfcpp \
|
||||||
-DLOCALEDIR="\"$(datadir)/locale\"" \
|
-DLOCALEDIR="\"$(datadir)/locale\"" \
|
||||||
-DBINDIR="\"$(bindir)\"" -DTOOLBINDIR="\"$(tooldir)/bin\"" \
|
-DBINDIR="\"$(bindir)\"" -DTOOLBINDIR="\"$(tooldir)/bin\"" \
|
||||||
|
@ -100,3 +100,8 @@
|
|||||||
/* Define to 1 if your processor stores words with the most significant byte
|
/* Define to 1 if your processor stores words with the most significant byte
|
||||||
first (like Motorola and SPARC, unlike Intel and VAX). */
|
first (like Motorola and SPARC, unlike Intel and VAX). */
|
||||||
#undef WORDS_BIGENDIAN
|
#undef WORDS_BIGENDIAN
|
||||||
|
|
||||||
|
/* Enable GNU extensions on systems that have them. */
|
||||||
|
#ifndef _GNU_SOURCE
|
||||||
|
# undef _GNU_SOURCE
|
||||||
|
#endif
|
||||||
|
8
gold/configure
vendored
8
gold/configure
vendored
@ -3810,6 +3810,14 @@ else
|
|||||||
echo "${ECHO_T}no, using $LN_S" >&6
|
echo "${ECHO_T}no, using $LN_S" >&6
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
cat >>confdefs.h <<\_ACEOF
|
||||||
|
#define _GNU_SOURCE 1
|
||||||
|
_ACEOF
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# If we haven't got the data from the intl directory,
|
# If we haven't got the data from the intl directory,
|
||||||
# assume NLS is disabled.
|
# assume NLS is disabled.
|
||||||
USE_NLS=no
|
USE_NLS=no
|
||||||
|
@ -144,6 +144,9 @@ AC_PROG_YACC
|
|||||||
AC_PROG_RANLIB
|
AC_PROG_RANLIB
|
||||||
AC_PROG_INSTALL
|
AC_PROG_INSTALL
|
||||||
AC_PROG_LN_S
|
AC_PROG_LN_S
|
||||||
|
|
||||||
|
AC_GNU_SOURCE
|
||||||
|
|
||||||
ZW_GNU_GETTEXT_SISTER_DIR
|
ZW_GNU_GETTEXT_SISTER_DIR
|
||||||
AM_PO_SUBDIRS
|
AM_PO_SUBDIRS
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ AUTOMAKE_OPTIONS =
|
|||||||
# eventually.
|
# eventually.
|
||||||
AM_CXXFLAGS = $(WARN_CXXFLAGS) $(LFS_CXXFLAGS) -fmerge-constants
|
AM_CXXFLAGS = $(WARN_CXXFLAGS) $(LFS_CXXFLAGS) -fmerge-constants
|
||||||
|
|
||||||
INCLUDES = -D_GNU_SOURCE \
|
INCLUDES = \
|
||||||
-I$(srcdir) -I$(srcdir)/.. -I$(srcdir)/../../include \
|
-I$(srcdir) -I$(srcdir)/.. -I$(srcdir)/../../include \
|
||||||
-I$(srcdir)/../../elfcpp \
|
-I$(srcdir)/../../elfcpp \
|
||||||
-DLOCALEDIR="\"$(datadir)/locale\"" \
|
-DLOCALEDIR="\"$(datadir)/locale\"" \
|
||||||
|
@ -545,7 +545,7 @@ AUTOMAKE_OPTIONS =
|
|||||||
# it on. This may need to be controlled by a configure option
|
# it on. This may need to be controlled by a configure option
|
||||||
# eventually.
|
# eventually.
|
||||||
AM_CXXFLAGS = $(WARN_CXXFLAGS) $(LFS_CXXFLAGS) -fmerge-constants
|
AM_CXXFLAGS = $(WARN_CXXFLAGS) $(LFS_CXXFLAGS) -fmerge-constants
|
||||||
INCLUDES = -D_GNU_SOURCE \
|
INCLUDES = \
|
||||||
-I$(srcdir) -I$(srcdir)/.. -I$(srcdir)/../../include \
|
-I$(srcdir) -I$(srcdir)/.. -I$(srcdir)/../../include \
|
||||||
-I$(srcdir)/../../elfcpp \
|
-I$(srcdir)/../../elfcpp \
|
||||||
-DLOCALEDIR="\"$(datadir)/locale\"" \
|
-DLOCALEDIR="\"$(datadir)/locale\"" \
|
||||||
|
Reference in New Issue
Block a user