summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2001-05-12 12:22:34 +0000
committerSascha Schumann <sas@php.net>2001-05-12 12:22:34 +0000
commite5176fe60a9ffbe211ee016acdcddb18118e4487 (patch)
treef5faed26fed9908fd839fbab08cc26cd3cea1669 /build
parentcf8d1563c27a70fdd24055c1e80218ec7b5962d6 (diff)
downloadphp-git-e5176fe60a9ffbe211ee016acdcddb18118e4487.tar.gz
First step towards full libtool 1.4 portability
Diffstat (limited to 'build')
-rw-r--r--build/rules_common.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/rules_common.mk b/build/rules_common.mk
index 32ce8086b5..bab3a16343 100644
--- a/build/rules_common.mk
+++ b/build/rules_common.mk
@@ -23,8 +23,8 @@ COMMON_FLAGS = $(DEFS) $(INCLUDES) $(EXTRA_INCLUDES) $(CPPFLAGS)
COMPILE = $(CC) $(COMMON_FLAGS) $(CFLAGS) $(EXTRA_CFLAGS)
CXX_COMPILE = $(CXX) $(COMMON_FLAGS) $(CXXFLAGS) $(EXTRA_CXXFLAGS)
-SHARED_COMPILE = $(SHARED_LIBTOOL) --mode=compile $(COMPILE) -c $< && touch $@
-CXX_SHARED_COMPILE = $(SHARED_LIBTOOL) --mode=compile $(CXX_COMPILE) -c $< && touch $@
+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 $@