Am Freitag Mai 26 2006 12:44 schrieb Klaus Schmidinger:
Prakash Punnoor wrote:
@@ -175,6 +175,8 @@ # Plugins:
plugins: include-dir
- CFLAGS="-fPIC $(CFLAGS)"
- CXXFLAGS="-fPIC $(CXXFLAGS)" @failed="";\ noapiv="";\ for i in `ls $(PLUGINDIR)/src | grep -v '[^a-z0-9]'`; do\
Why would this be necessary? The plugins' Makefiles already contain
CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual
Ideally you are right. The plugins should add the flag themselves. But if you don't want to trust them, this would be a way to make sure. So it's your choice. ;-)