* gmon/Makefile (CFLAGS-mcount.c): New variable.
(mcount.po): New target. * Makeconfig (CFLAGS): Append $(CFLAGS-$(<F)).
This commit is contained in:
parent
7176f4e4b5
commit
d99d7e2644
@ -1,5 +1,10 @@
|
||||
Tue Jan 16 17:37:39 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
|
||||
|
||||
* gmon/Makefile (CFLAGS-mcount.c): New variable.
|
||||
(mcount.po): New target.
|
||||
|
||||
* Makeconfig (CFLAGS): Append $(CFLAGS-$(<F)).
|
||||
|
||||
* csu/Makefile [have-initfini=yes] (CPPFLAGS): Append -DHAVE_INITFINI.
|
||||
(initfini): Compile initfini.c with -fPIC.
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright (C) 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
|
||||
# Copyright (C) 1991, 92, 93, 94, 95, 96 Free Software Foundation, Inc.
|
||||
# This file is part of the GNU C Library.
|
||||
|
||||
# The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -421,7 +421,8 @@ libio-include = -I$(..)libio
|
||||
# These are the variables that the implicit compilation rules use.
|
||||
CPPFLAGS = $(+includes) $(defines) -include $(..)libc-symbols.h \
|
||||
$(sysdep-CPPFLAGS) $(CPPFLAGS-$(suffix $@))
|
||||
override CFLAGS = $(+cflags) $(sysdep-CFLAGS) $(CFLAGS-$(suffix $@))
|
||||
override CFLAGS = $(+cflags) $(sysdep-CFLAGS) $(CFLAGS-$(suffix $@)) \
|
||||
$(CFLAGS-$(<F))
|
||||
|
||||
|
||||
# This is the macro that the implicit linking rules use.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright (C) 1995 Free Software Foundation, Inc.
|
||||
# Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
||||
# This file is part of the GNU C Library.
|
||||
|
||||
# The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -26,3 +26,12 @@ headers := sys/gmon.h machine-gmon.h
|
||||
routines := gmon mcount profil
|
||||
|
||||
include ../Rules
|
||||
|
||||
# The mcount code won't work without a frame pointer.
|
||||
CFLAGS-mcount.c := -fno-omit-frame-pointer
|
||||
|
||||
# We cannot compile mcount.c with -pg because that would
|
||||
# create resursive calls. Just copy the normal static object.
|
||||
$(objpfx)mcount.po: $(objpfx)mcount.o
|
||||
rm -f $@
|
||||
ln $< $@
|
||||
|
Loading…
Reference in New Issue
Block a user