On Thu, Apr 09, 2015 at 12:29:06PM +0100, Iain Sandoe wrote: > It turns out that existing versions of clang (used as bootstrap on later > Darwin editions) support -mdynamic-no-pic, but not the inverse. The patch > below revises mh-darwin so that it only adds -mdynamic-no-pic when the > inverse is supported (for stage1 and boot cflags). For later stages, built > with GCC, it is known to be supported and can be added unconditionally. > When generating the PICFLAG, -mno-dynamic-no-pic is added only when > -mdynamic-no-pic is present in CFLAGS. > > OK for trunk?
Ok, thanks. Jakub