From da8894bebc36c9681d531713fb4dc7591cb4d330 Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Sat, 27 May 2017 05:26:56 +0000 Subject: Respect CFLAGS: particularly, do not pass `-march=native' which some compilers do not like, which in turn might break the build. --- databases/tarantool-c/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'databases/tarantool-c') diff --git a/databases/tarantool-c/Makefile b/databases/tarantool-c/Makefile index bba601ae713e..c68fbaf76ec5 100644 --- a/databases/tarantool-c/Makefile +++ b/databases/tarantool-c/Makefile @@ -23,4 +23,7 @@ BROKEN_mips64= Fails to compile: clang compiler does not support -march=native BROKEN_powerpc64= Fails to compile: clang compiler does not support -march=native BROKEN_sparc64= Fails to compile: clang compiler does not support -march=native +post-patch: + @${REINPLACE_CMD} -e '/-O3 -march=native/d' ${WRKSRC}/CMakeLists.txt + .include -- cgit v1.2.3