From 245335202590cc5b75a23f7fb9aaef97fee62c14 Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Wed, 13 Sep 2017 09:37:26 -0700 Subject: [PATCH] build: remove explicit -m64 compiler option This should be the default already on x86-64 compilers. Note that the code may still not necessarily compile or work properly on other architectures, but this is at least a start toward portability. Change-Id: I9c842aa329dd761277bf90669f2c905e436e0af4 Signed-off-by: Daniel Verkamp Reviewed-on: https://review.gerrithub.io/378365 Tested-by: SPDK Automated Test System Reviewed-by: Jim Harris Reviewed-by: Ben Walker --- mk/spdk.common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/spdk.common.mk b/mk/spdk.common.mk index 4796d6a70..6ba889228 100644 --- a/mk/spdk.common.mk +++ b/mk/spdk.common.mk @@ -48,7 +48,7 @@ endif OS := $(shell uname) -COMMON_CFLAGS = -g $(C_OPT) -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wmissing-declarations -fno-strict-aliasing -march=native -m64 -I$(SPDK_ROOT_DIR)/include +COMMON_CFLAGS = -g $(C_OPT) -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wmissing-declarations -fno-strict-aliasing -march=native -I$(SPDK_ROOT_DIR)/include COMMON_CFLAGS += -include $(SPDK_ROOT_DIR)/config.h