swh / ladspa

The SWH Plugins package for the LADSPA plugin system
http://plugin.org.uk/
GNU General Public License v2.0
229 stars 52 forks source link

Warning: CFLAGS appears to already contain specs #37

Open binarykitchen opened 8 years ago

binarykitchen commented 8 years ago
configure: WARNING: CFLAGS appears to allready contain architecture specifaction, using exiting one

Version: https://github.com/swh/ladspa/archive/v0.4.16.tar.gz

Any ideas how to avoid that warning?

swh commented 8 years ago

You could unset CFLAGS, but it should be harmless, hopefully it's set the way it is for a reason?

It might be that your default CFLAGS or LDFLAGS are preventing the build from happening though? If it assumes that shared objects are going to be used as libraries for e.g.

If you haven't set them yourself, then it's probably your distribution doing it.

binarykitchen commented 8 years ago

fixed this myself by using -fPIC for compilation - all good