aboutgitcodebugslistschat
path: root/Makefile
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2022-11-17 18:49:32 +0000
committerStefano Brivio <sbrivio@redhat.com>2022-11-25 01:40:00 +0100
commit4d099c85df47cf521db98ebe4d3ca8002579be3a (patch)
tree94fe59b41d3d30789665e3b5c3ce77fa54218298 /Makefile
parentb06014a6b2f35bb3ca58e94a6ef84e3644e49fb0 (diff)
downloadpasst-4d099c85df47cf521db98ebe4d3ca8002579be3a.tar
passt-4d099c85df47cf521db98ebe4d3ca8002579be3a.tar.gz
passt-4d099c85df47cf521db98ebe4d3ca8002579be3a.tar.bz2
passt-4d099c85df47cf521db98ebe4d3ca8002579be3a.tar.lz
passt-4d099c85df47cf521db98ebe4d3ca8002579be3a.tar.xz
passt-4d099c85df47cf521db98ebe4d3ca8002579be3a.tar.zst
passt-4d099c85df47cf521db98ebe4d3ca8002579be3a.zip
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5a0f96a..d50fa65 100644
--- a/Makefile
+++ b/Makefile
@@ -139,7 +139,7 @@ passt.avx2: $(PASST_SRCS) $(HEADERS)
passt.avx2: passt
pasta.avx2 pasta.1 pasta: pasta%: passt%
- ln -s $< $@
+ ln -sf $< $@
qrap: $(QRAP_SRCS) passt.h
$(CC) $(FLAGS) $(CFLAGS) $(CPPFLAGS) $(QRAP_SRCS) -o qrap $(LDFLAGS)