summaryrefslogtreecommitdiff
path: root/sapi/thttpd
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2001-09-10 17:15:03 +0000
committerSascha Schumann <sas@php.net>2001-09-10 17:15:03 +0000
commit2547f86060a602b0efaf3b883ea0e7ccd1a2c9b4 (patch)
tree98c16f732777b55b2fa1cbcf0d305f2c0eafaca0 /sapi/thttpd
parenta4f9a162252f7a09a3e745f735bce1c645190d50 (diff)
downloadphp-git-2547f86060a602b0efaf3b883ea0e7ccd1a2c9b4.tar.gz
Use $(LINK) for libraries, but $(LINK_CLEAN) for creating programs.
Also pass only $(CFLAGS_CLEAN) into thttpd's Makefile.
Diffstat (limited to 'sapi/thttpd')
-rw-r--r--sapi/thttpd/config.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/thttpd/config.m4 b/sapi/thttpd/config.m4
index e7252332c2..a96c5299fc 100644
--- a/sapi/thttpd/config.m4
+++ b/sapi/thttpd/config.m4
@@ -7,7 +7,7 @@ AC_ARG_WITH(thttpd,
INSTALL_IT="\
echo 'PHP_LIBS = -L. -lphp4 \$(PHP_LIBS) \$(EXTRA_LIBS)' > $THTTPD/php_makefile; \
echo 'PHP_LDFLAGS = \$(NATIVE_RPATHS) \$(PHP_LDFLAGS)' >> $THTTPD/php_makefile; \
- echo 'PHP_CFLAGS = \$(COMMON_FLAGS) \$(CFLAGS) \$(CPPFLAGS) \$(EXTRA_CFLAGS)' >> $THTTPD/php_makefile; \
+ echo 'PHP_CFLAGS = \$(COMMON_FLAGS) \$(CFLAGS_CLEAN) \$(CPPFLAGS) \$(EXTRA_CFLAGS)' >> $THTTPD/php_makefile; \
\$(LN_S) $abs_srcdir/sapi/thttpd/thttpd.c $THTTPD/php_thttpd.c; \
\$(LN_S) $abs_srcdir/sapi/thttpd/php_thttpd.h $abs_builddir/$SAPI_STATIC $THTTPD/;\
test -f $THTTPD/php_patched || \