diff options
author | Gordon Ross <gwr@nexenta.com> | 2016-03-01 16:07:32 -0500 |
---|---|---|
committer | Gordon Ross <gwr@nexenta.com> | 2016-10-03 08:55:14 -0400 |
commit | 26649ed7fe1dcfc729f525f272ceefa8e2bfca34 (patch) | |
tree | e399618b5b34f042f43916790ba19e82f2a1be99 /usr/src/lib/libsqlite | |
parent | 259e54381b0df8c5ffcf91a7cadb5dcb00385fee (diff) | |
download | illumos-joyent-26649ed7fe1dcfc729f525f272ceefa8e2bfca34.tar.gz |
7439 libsqlite always rebuilds after illumos 6648
Reviewed by: Yuri Pankov<yuri.pankov@nexenta.com>
Reviewed by: Richard Lowe <richlowe@richlowe.net>
Approved by: Dan McDonald <danmcd@omniti.com>
Diffstat (limited to 'usr/src/lib/libsqlite')
-rw-r--r-- | usr/src/lib/libsqlite/Makefile.com | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/usr/src/lib/libsqlite/Makefile.com b/usr/src/lib/libsqlite/Makefile.com index 5b6dcc424e..f2671beccc 100644 --- a/usr/src/lib/libsqlite/Makefile.com +++ b/usr/src/lib/libsqlite/Makefile.com @@ -2,6 +2,7 @@ # Copyright 2008 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # Copyright 2015 Igor Kozhukhov <ikozhukhov@gmail.com> +# Copyright 2016 Nexenta Systems, Inc. All rights reserved. # # Make the SO name unlikely to conflict with any other @@ -241,16 +242,23 @@ testfixture: FRC exit 1; \ fi +# Prevent Makefile.lib $(PICS) := from adding PICFLAGS +# by building lemon in a recursive make invocation. +# Otherwise, this target causes a rebuild every time after +# the PICS target builds this one way, then lint the other. parse.h parse.c : $(SRCDIR)/parse.y $(TOOLDIR)/lemon.c $(TOOLDIR)/lempar.c -$(RM) parse_tmp.y lempar.c $(CP) $(SRCDIR)/parse.y parse_tmp.y $(CP) $(TOOLDIR)/lempar.c lempar.c - $(NATIVECC) $(NATIVE_CFLAGS) -o lemon $(TOOLDIR)/lemon.c + $(MAKE) lemon ./lemon parse_tmp.y -$(RM) parse.c parse.h $(CP) parse_tmp.h parse.h $(CP) parse_tmp.c parse.c +lemon: $(TOOLDIR)/lemon.c + $(NATIVECC) $(NATIVE_CFLAGS) -o $@ $(TOOLDIR)/lemon.c + objs/%-native.o: $(SRCDIR)/%.c $(GENHDR) $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) |