* Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.

This commit is contained in:
Ian Lance Taylor 1996-12-31 20:43:28 +00:00
parent 1a4752c664
commit 6ded661565
8 changed files with 16 additions and 7 deletions

View file

@ -6,6 +6,8 @@ Tue Dec 31 15:15:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
end-sanitize-v850
Tue Dec 31 14:44:50 1996 Ian Lance Taylor <ian@cygnus.com>
* Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
* configure.in: Check ac_cv_func_mmap_fixed_mapped, not
ac_cv_func_mmap.
* configure: Rebuild.

View file

@ -458,7 +458,7 @@ FLAGS_TO_PASS = \
"INSTALL_DATA=$(INSTALL_DATA)" \
"INSTALL_PROGRAM=$(INSTALL_PROGRAM)"
ALL_CFLAGS=@HDEFINES@ @COREFLAG@ @TDEFINES@ $(CSEARCH) $(CSWITCHES) $(CFLAGS)
ALL_CFLAGS=-D_GNU_SOURCE @HDEFINES@ @COREFLAG@ @TDEFINES@ $(CSEARCH) $(CSWITCHES) $(CFLAGS)
.c.o:
if [ -n "$(PICFLAG)" ]; then \
$(CC) -c $(PICFLAG) $(ALL_CFLAGS) $< -o pic/$@; \

View file

@ -1,3 +1,7 @@
Tue Dec 31 15:42:54 1996 Ian Lance Taylor <ian@cygnus.com>
* Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
Fri Dec 27 11:19:26 1996 Ian Lance Taylor <ian@cygnus.com>
* configure.in: Work around bug in AC_FUNC_VFORK in autoconf 2.12.

View file

@ -71,8 +71,7 @@ NM = $(NM_FOR_TARGET)
SYMLINK = ln -s
BISON = `if [ -f ../bison/bison ] ; then echo ../bison/bison -y -L../bison/bison ; else echo bison -y ; fi`
# Comment these out if using lex.
LEX_OPTIONS = -I -Cem
LEX_OPTIONS =
LEX = `if [ -f ../flex/flex ] ; then echo ../flex/flex ; else echo flex ; fi`
# Distribution version
@ -126,7 +125,7 @@ INCDIR = $(BASEDIR)/include
INCLUDES = -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR)
DEP = mkdep
ALL_CFLAGS = $(INCLUDES) @HDEFINES@ $(CFLAGS)
ALL_CFLAGS = -D_GNU_SOURCE $(INCLUDES) @HDEFINES@ $(CFLAGS)
HFILES = arsup.h bucomm.h budbg.h coffgrok.h debug.h nlmconv.h
@ -555,6 +554,7 @@ install: all
k=`echo $$j | sed '$(program_transform_name)'`; \
ln $(bindir)/$$k $(tooldir)/bin/$$j >/dev/null 2>/dev/null \
|| $(INSTALL_PROGRAM) $$i $(tooldir)/bin/$$j; \
else true; \
fi; \
done
@ -577,7 +577,6 @@ clean-info:
# Making a dist:
# cvs rtag binutils-x-yy ld+utils
# cvs co -r binutils-x-yy ld+utils
# Sanitize
# cd {HERE}; make dist [-f Makefile.in]
dist: $(DIST_NAME).tar.z

View file

@ -8,6 +8,8 @@ Tue Dec 31 15:12:35 1996 Michael Meissner <meissner@tiktok.cygnus.com>
end-sanitize-v850
Tue Dec 31 12:56:41 1996 Ian Lance Taylor <ian@cygnus.com>
* Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
* config/tc-sparc.c (md_apply_fix3): Rename from md_apply_fix, and
add segment argument. If OBJ_ELF, treat a relocation against a
symbol in a linkonce section like a relocation against an external

View file

@ -227,7 +227,7 @@ stamp-mk.com: vmsconf.sh Makefile
# Now figure out from those variables how to compile and link.
# This is the variable actually used when we compile.
ALL_CFLAGS = $(INTERNAL_CFLAGS) $(CROSS) $(CFLAGS) $(HDEFINES) $(TDEFINES)
ALL_CFLAGS = -D_GNU_SOURCE $(INTERNAL_CFLAGS) $(CROSS) $(CFLAGS) $(HDEFINES) $(TDEFINES)
# How to link with both our special library facilities
# and the system's installed libraries.

View file

@ -1,5 +1,7 @@
Tue Dec 31 14:48:30 1996 Ian Lance Taylor <ian@cygnus.com>
* Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
* ld.h (args_type): Add filter_shlib and auxiliary_filter_shlib
fields.
* lexsup.c (parse_args): Recognize --auxiliary/-f and

View file

@ -187,7 +187,7 @@ LINTFLAGS = $(INCLUDES) $(EXTRA_DEF)
#.cc.o:
# $(CXX) -c -I$(srcdir) $(CXXFLAGS) $(CFLAGS) $<
ALL_CFLAGS = $(INCLUDES) @HDEFINES@ $(CFLAGS)
ALL_CFLAGS = -D_GNU_SOURCE $(INCLUDES) @HDEFINES@ $(CFLAGS)
.c.o:
$(CC) -c $(ALL_CFLAGS) $<