Fix for building profiled programs.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@2890 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1998-08-01 21:08:10 +00:00
parent 7d4d032d73
commit 61d4758ce1
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Sat Jul 31 21:20:00 1998 Richard Frith-Macdonald <richard@brainstrom.co.uk>
*common.make: Modified to set LDFLAGS to use '-pg' when compiling
with 'profile=yes' and LD == CC
Fri Jul 31 15:08:25 1998 Richard Frith-Macdonald <richard@brainstrom.co.uk>
*brain.make: Fixed to use the command-line specification of

View file

@ -249,6 +249,9 @@ endif
ifeq ($(profile), yes)
ADDITIONAL_FLAGS += -pg
ifeq ($(LD), $(CC))
LDFLAGS = -pg -o
endif
OBJ_DIR_PREFIX += profile_
LIBRARY_NAME_SUFFIX := p$(LIBRARY_NAME_SUFFIX)
endif