diff options
author | Patrik Nyblom <[email protected]> | 2012-06-14 15:03:39 +0200 |
---|---|---|
committer | Patrik Nyblom <[email protected]> | 2012-06-14 15:03:39 +0200 |
commit | 8130bf4110459f71caa04ef963af74ff7fd89f95 (patch) | |
tree | fdbfad753eb9a330360a51dd457925127a21c788 /erts/etc/common/Makefile.in | |
parent | aff21f5dffc035dd97215ec1a2c281b84412f29f (diff) | |
download | otp-8130bf4110459f71caa04ef963af74ff7fd89f95.tar.gz otp-8130bf4110459f71caa04ef963af74ff7fd89f95.tar.bz2 otp-8130bf4110459f71caa04ef963af74ff7fd89f95.zip |
Teach heart to use clock_gettime instead of times()
Diffstat (limited to 'erts/etc/common/Makefile.in')
-rw-r--r-- | erts/etc/common/Makefile.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/erts/etc/common/Makefile.in b/erts/etc/common/Makefile.in index 4754328c0b..250934656a 100644 --- a/erts/etc/common/Makefile.in +++ b/erts/etc/common/Makefile.in @@ -61,6 +61,9 @@ LD = @LD@ LIBS = @LIBS@ LDFLAGS = @LDFLAGS@ +# For clock_gettime in heart +RTLIBS = @LIBRT@ + ifeq ($(TARGET),win32) ifeq ($(TYPE),debug) CFLAGS = $(subst -O2,-g,@CFLAGS@ @DEFS@ $(TYPE_FLAGS) @WFLAGS@ -I$(SYSDIR) \ @@ -467,7 +470,7 @@ else $(BINDIR)/heart@EXEEXT@: $(OBJDIR)/heart.o $(ENTRY_OBJ) $(LD) $(LDFLAGS) $(ENTRY_LDFLAGS) -o $@ $(OBJDIR)/heart.o \ - $(ENTRY_OBJ) $(WINDSOCK) + $(RTLIBS) $(ENTRY_OBJ) $(WINDSOCK) $(OBJDIR)/heart.o: heart.c $(CC) $(CFLAGS) -o $@ -c heart.c |