"Shaun Jackman" <[EMAIL PROTECTED]> writes: > I'm using MULTILIB_OPTIONS and MULTILIB_DIRNAMES to compile a PIC/XIP > toolchain. I'm familiar with the MULTILIB_EXCEPTIONS mechanism to > specify incompatible configurations. How, though, do I indicate that > msingle-pic-base depends on fPIC? > > MULTILIB_OPTIONS += fPIC > MULTILIB_DIRNAMES += pic > MULTILIB_OPTIONS += msingle-pic-base > MULTILIB_DIRNAMES += xip
The usual hacked up way is to MULTILIB_EXCEPTIONS to remove -msingle-pic-base without -fPIC. Something like MULTILIB_EXCEPTIONS = -msingle-pic-base might do it. Ian