summaryrefslogtreecommitdiff
path: root/devel/py-llvmlite/patches/patch-ffi_Makefile.freebsd
blob: 689bcf4e88a5641bc06caabc878d55a683579277 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ffi_Makefile.freebsd,v 1.1 2019/12/19 22:12:43 joerg Exp $

--- ffi/Makefile.freebsd.orig	2019-12-19 19:40:25.412017304 +0000
+++ ffi/Makefile.freebsd
@@ -12,7 +12,7 @@ OUTPUT = libllvmlite.so
 all: $(OUTPUT)
 
 $(OUTPUT): $(SRC) $(INCLUDE)
-	$(CXX) -shared $(CXXFLAGS) $(SRC) -o $(OUTPUT) $(LDFLAGS) $(LIBS)
+	$(CXX) -shared $(CXXFLAGS) $(SRC) -o $(OUTPUT) $(LDFLAGS) $(LIBS) -fPIC
 
 clean:
 	rm -rf test