Author: ache
Date: Tue Jul 24 16:03:28 2012
New Revision: 238741
URL: http://svn.freebsd.org/changeset/base/238741

Log:
  Don't ever build files depending on the directory where they are placed in.
  It is obvious that its modification time will change with each such file
  builded.
  This bug cause whole libelf to rebuild itself each second make run
  (and relink that files on each first make run) in the loop.

Modified:
  head/lib/libelf/Makefile

Modified: head/lib/libelf/Makefile
==============================================================================
--- head/lib/libelf/Makefile    Tue Jul 24 13:32:49 2012        (r238740)
+++ head/lib/libelf/Makefile    Tue Jul 24 16:03:28 2012        (r238741)
@@ -68,11 +68,9 @@ CLEANFILES=  ${GENSRCS}
 CLEANDIRS=     sys
 CFLAGS+=       -I${.CURDIR} -I.
 
-sys/elf32.h sys/elf64.h sys/elf_common.h: sys
-       ln -sf ${.CURDIR}/../../sys/${.TARGET} ${.TARGET}
-
-sys:
+sys/elf32.h sys/elf64.h sys/elf_common.h: ${.CURDIR}/../../sys/${.TARGET}
        mkdir -p ${.OBJDIR}/sys
+       ln -sf ${.CURDIR}/../../sys/${.TARGET} ${.TARGET}
 
 SHLIB_MAJOR=   1
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to