summaryrefslogtreecommitdiff
path: root/lang/ccscript/Makefile
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2005-03-01 19:45:22 +0000
committerThierry Thomas <thierry@FreeBSD.org>2005-03-01 19:45:22 +0000
commit8f5cc43648a608f189d7ff2476e1b4a7f78c7299 (patch)
tree205cea143a9f53304ccb85c20bb1e47a04f28c48 /lang/ccscript/Makefile
parentUpdate to 1.3.8 (diff)
Unbreak on amd64.
Approved by: Johan van Selst Reported by: Kris via pointyhat
Notes
Notes: svn path=/head/; revision=130114
Diffstat (limited to '')
-rw-r--r--lang/ccscript/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/ccscript/Makefile b/lang/ccscript/Makefile
index 009635dbed53..72be4065b50e 100644
--- a/lang/ccscript/Makefile
+++ b/lang/ccscript/Makefile
@@ -30,4 +30,10 @@ MAN3= ScriptCommand.3cc ScriptImage.3cc ScriptInterp.3cc \
ScriptModule.3cc ScriptSymbol.3cc Script_Locks.3cc \
Script_Package.3cc Script_Property.3cc Script_Session.3cc
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64"
+CFLAGS+= -fPIC
+.endif
+
+.include <bsd.port.post.mk>