summaryrefslogtreecommitdiff
path: root/databases/tarantool-c
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2017-05-27 05:26:56 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2017-05-27 05:26:56 +0000
commitda8894bebc36c9681d531713fb4dc7591cb4d330 (patch)
treee6d612ef0646a1cd47ebc2990b12e09c1ce0b291 /databases/tarantool-c
parentUpdate to 1.9.11. (diff)
Respect CFLAGS: particularly, do not pass `-march=native' which some
compilers do not like, which in turn might break the build.
Notes
Notes: svn path=/head/; revision=441826
Diffstat (limited to 'databases/tarantool-c')
-rw-r--r--databases/tarantool-c/Makefile3
1 files changed, 3 insertions, 0 deletions
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 <bsd.port.mk>