diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 21 |
1 files changed, 1 insertions, 20 deletions
@@ -21,7 +21,7 @@ #CFLAGS := -Wall -Wextra -Werror #CFLAGS := -Wall -Wextra -Wno-unused-variable -Wno-unused-function CFLAGS := -Wno-unused-variable -Wno-unused-function -D_GNU_SOURCE -CFLAGS = -D_GNU_SOURCE -O2 +CFLAGS = -D_GNU_SOURCE -O2 -static CC ?= ifeq ($(ARCH), arm64) @@ -31,25 +31,6 @@ else CC ?= gcc endif -ifeq ($(VHOST_USER_RNG), 1) - CFLAGS += -DVHOST_USER_RNG_DEV - CFLAGS += -DVHOST_USER -endif - -ifeq ($(VHOST_USER_BLK), 1) - CFLAGS += -DVHOST_USER_BLK_DEV - CFLAGS += -DVHOST_USER -endif - -ifeq ($(VHOST_USER_INPUT), 1) - CFLAGS += -DVHOST_USER_INPUT_DEV - CFLAGS += -DVHOST_USER -endif - -ifeq ($(VIRTIO_RNG), 1) - CFLAGS += -DVIRTIO_RNG -endif - INCL += -I . DEPS = adapter.h vhost_user_loopback.h event_notifier.h virtio_loopback.h SRC_C = event_notifier.c vhost_user_loopback.c virtio_loopback.c virtio_rng.c virtio_input.c vhost_user_input.c vhost_user_blk.c vhost_user_rng.c vhost_loopback.c adapter.c |