The changes of r14-4172 missed a case where we accept -dynamiclib on the
command line and then pass it to cc1 (which does not accept it).
This prunes the -dynamiclib from cc1 lines.
gcc/ChangeLog:
* config/darwin.h (DARWIN_CC1_SPEC): Remove -dynamiclib.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
(cherry picked from commit
3b18fd28c83ac90bf408389c003ed25d93438210)
%:version-compare(>= 10.7 mmacosx-version-min= -no_pie) }"
#define DARWIN_CC1_SPEC \
- "%<dynamic %<force_cpusubtype_ALL %<multiply_defined* "
+ "%<dynamic %<force_cpusubtype_ALL %<multiply_defined* %<dynamiclib"
#define SUBSUBTARGET_OVERRIDE_OPTIONS \
do { \