aboutsummaryrefslogtreecommitdiffstats
path: root/editors/wily
diff options
context:
space:
mode:
Diffstat (limited to 'editors/wily')
-rw-r--r--editors/wily/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/editors/wily/Makefile b/editors/wily/Makefile
index 35965495127..1e26eb31aa4 100644
--- a/editors/wily/Makefile
+++ b/editors/wily/Makefile
@@ -45,7 +45,9 @@ post-patch:
# Run the configure script in the tools directory.
post-configure:
@${RM} ${WRKSRC}/tools/win/config.cache
- cd ${WRKSRC}/tools/win; ./configure --prefix=${PREFIX}
+ cd ${WRKSRC}/tools/win && \
+ ${SETENV} CC=${CC} "CFLAGS=${CFLAGS}" \
+ ${SH} ./configure --prefix=${PREFIX}
# The default Wily makefile does not install any documentation. Rectify.
post-install: