diff --git a/unix/Makefile.in b/unix/Makefile.in
index 311fdb2..810468d 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -644,7 +646,7 @@ tclLibObjs:
 objs: ${OBJS}
 
 ${TCL_EXE}: ${TCLSH_OBJS} ${TCL_LIB_FILE} ${TCL_STUB_LIB_FILE}
-	${CC} ${CFLAGS} ${LDFLAGS} ${TCLSH_OBJS} \
+	${CC} ${CFLAGS} -fPIE ${LDFLAGS} -pie ${TCLSH_OBJS} \
 		@TCL_BUILD_LIB_SPEC@ ${TCL_STUB_LIB_FILE} ${LIBS} @EXTRA_TCLSH_LIBS@ \
 		${CC_SEARCH_FLAGS} -o ${TCL_EXE}
 
