aboutsummaryrefslogtreecommitdiff
path: root/editors/led
diff options
context:
space:
mode:
Diffstat (limited to 'editors/led')
-rw-r--r--editors/led/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/editors/led/Makefile b/editors/led/Makefile
index bb7a2249ab1d..52b88653c417 100644
--- a/editors/led/Makefile
+++ b/editors/led/Makefile
@@ -17,4 +17,8 @@ COMMENT= A tiny text editor, with a number of useful programming features
GNU_CONFIGURE= yes
USE_PERL5= yes
+.if ${MACHINE_ARCH:L} == "amd64"
+CFLAGS+= "-fPIC"
+.endif
+
.include <bsd.port.mk>