From 0adb664a315dbd3c5e63c348de0dfd44ff05edb4 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sat, 30 May 2020 19:28:47 +0100 Subject: OpenBSD build update and llvm mode fix Unlike upstream version, LLVM in OpenBSD enable by default anti ROP gadget leading to bigger binaries and lower performances. On OpenBSD, it needs to link to c++ abi for th unwind symbols. --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index dd817d35..7556b617 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -100,7 +100,7 @@ ifeq "$(shell uname -s)" "DragonFly" endif ifeq "$(shell uname -s)" "OpenBSD" - override CFLAGS += -I /usr/local/include/ + override CFLAGS += -I /usr/local/include/ -mno-retpoline LDFLAGS += -Wl,-z,notext -L /usr/local/lib/ endif -- cgit 1.4.1