aboutgitcodebugslistschat
path: root/Makefile
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-02-17 01:41:28 +0100
committerStefano Brivio <sbrivio@redhat.com>2022-02-21 13:41:13 +0100
commitce4e7b4d5ddb213f45164015ef5479943fec2f8e (patch)
treef7256189813c4c699de12c72b3ac680bcf3cdc97 /Makefile
parentfb70301b1358a7a65e0f6089ee9349330db2465a (diff)
downloadpasst-ce4e7b4d5ddb213f45164015ef5479943fec2f8e.tar
passt-ce4e7b4d5ddb213f45164015ef5479943fec2f8e.tar.gz
passt-ce4e7b4d5ddb213f45164015ef5479943fec2f8e.tar.bz2
passt-ce4e7b4d5ddb213f45164015ef5479943fec2f8e.tar.lz
passt-ce4e7b4d5ddb213f45164015ef5479943fec2f8e.tar.xz
passt-ce4e7b4d5ddb213f45164015ef5479943fec2f8e.tar.zst
passt-ce4e7b4d5ddb213f45164015ef5479943fec2f8e.zip
Makefile, conf, passt: Drop passt4netns references, explicit argc check
Nobody currently calls this as passt4netns, that was the name I used before 'pasta', drop any reference before it's too late. While at it, explicitly check that argc is bigger than or equal to one, just as a defensive measure: argv[0] being NULL is not an issue anyway. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 5085578..8477cf0 100644
--- a/Makefile
+++ b/Makefile
@@ -62,7 +62,7 @@ endif
prefix ?= /usr/local
-all: passt pasta passt4netns qrap
+all: passt pasta qrap
avx2: CFLAGS += -Ofast -mavx2 -ftree-vectorize -funroll-loops
avx2: clean all
@@ -81,16 +81,13 @@ pasta: passt
ln -s passt pasta
ln -s passt.1 pasta.1
-passt4netns: passt
- ln -s passt passt4netns
-
qrap: qrap.c passt.h
$(CC) $(CFLAGS) \
qrap.c -o qrap
.PHONY: clean
clean:
- -${RM} passt *.o seccomp.h qrap pasta pasta.1 passt4netns \
+ -${RM} passt *.o seccomp.h qrap pasta pasta.1 \
passt.tar passt.tar.gz *.deb *.rpm
install: passt pasta qrap