build: Force-create pasta symlink
If you run the build several times it will fail unnecessarily with: ln -s passt pasta ln: failed to create symbolic link 'pasta': File exists make: *** [Makefile:134: pasta] Error 1 Signed-off-by: Richard W.M. Jones <rjones@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
b06014a6b2
commit
4d099c85df
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -139,7 +139,7 @@ passt.avx2: $(PASST_SRCS) $(HEADERS)
|
||||||
passt.avx2: passt
|
passt.avx2: passt
|
||||||
|
|
||||||
pasta.avx2 pasta.1 pasta: pasta%: passt%
|
pasta.avx2 pasta.1 pasta: pasta%: passt%
|
||||||
ln -s $< $@
|
ln -sf $< $@
|
||||||
|
|
||||||
qrap: $(QRAP_SRCS) passt.h
|
qrap: $(QRAP_SRCS) passt.h
|
||||||
$(CC) $(FLAGS) $(CFLAGS) $(CPPFLAGS) $(QRAP_SRCS) -o qrap $(LDFLAGS)
|
$(CC) $(FLAGS) $(CFLAGS) $(CPPFLAGS) $(QRAP_SRCS) -o qrap $(LDFLAGS)
|
||||||
|
|
Loading…
Reference in a new issue