ICU-640 put -fPIC in SHAREDLIB*FLAGS not every compile line

X-SVN-Rev: 2587
This commit is contained in:
Yves Arrouye 2000-10-06 00:12:32 +00:00
parent 5f926de34e
commit 22e55c4d9d

View File

@ -7,9 +7,14 @@
GEN_DEPS.c= $(CC) -E -MM $(DEFS) $(CPPFLAGS)
GEN_DEPS.cc= $(CXX) -E -MM $(DEFS) $(CPPFLAGS)
## Flags for position independent code
SHAREDLIBCFLAGS = -fPIC
SHAREDLIBCXXFLAGS = -fPIC
SHAREDLIBCPPFLAGS = -DPIC
## Commands to compile
COMPILE.c= $(CC) -fPIC $(DEFS) $(CPPFLAGS) $(CFLAGS) -c
COMPILE.cc= $(CXX) -fPIC $(DEFS) $(CPPFLAGS) $(CXXFLAGS) -c
COMPILE.c= $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c
COMPILE.cc= $(CXX) $(DEFS) $(CPPFLAGS) $(CXXFLAGS) -c
## Commands to link
LINK.c= $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)