On Thu, 9 Aug 2001, Andi Gutmans wrote:

>At 06:10 AM 8/9/2001 +0200, Sascha Schumann wrote:
>>On Wed, 8 Aug 2001, Jason Greene wrote:
>>
>> > If this is done should it occur before or after the branch?
>>
>>     It should not be done at all.
>
>So how do you suggest to fix the current problems?

I'm not 100% if the attached patch would be the correct
way to fix this but it did remove the warning I had.
And still I get working DSO. :)

--Jani
Index: build/rules_common.mk
===================================================================
RCS file: /repository/php4/build/rules_common.mk,v
retrieving revision 1.8
diff -u -r1.8 rules_common.mk
--- build/rules_common.mk       18 May 2001 14:40:02 -0000      1.8
+++ build/rules_common.mk       9 Aug 2001 04:23:21 -0000
@@ -22,11 +22,12 @@
 COMMON_FLAGS = $(DEFS) $(INCLUDES) $(EXTRA_INCLUDES) $(CPPFLAGS)
 COMPILE      = $(CC)  $(COMMON_FLAGS) $(CFLAGS) $(EXTRA_CFLAGS)
 CXX_COMPILE  = $(CXX) $(COMMON_FLAGS) $(CXXFLAGS) $(EXTRA_CXXFLAGS)
+LINK_FLAGS   = $(CC)  $(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) $(LDFLAGS)
 
 SHARED_COMPILE = $(SHARED_LIBTOOL) --mode=compile $(CC) $(COMMON_FLAGS) 
$(CFLAGS_CLEAN) -prefer-pic $(EXTRA_CFLAGS) -c $< && touch $@
 CXX_SHARED_COMPILE = $(SHARED_LIBTOOL) --mode=compile $(CXX) $(COMMON_FLAGS) 
$(CXXFLAGS_CLEAN) -prefer-pic $(EXTRA_CXXFLAGS) -c $< && touch $@
 
-LINK = $(LIBTOOL) --mode=link $(COMPILE) $(LDFLAGS) -o $@
+LINK = $(LIBTOOL) --mode=link $(LINK_FLAGS) -o $@
 
 mkinstalldirs = $(top_srcdir)/build/shtool mkdir -p
 INSTALL = $(top_srcdir)/build/shtool install -c
-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to