We handle -fpie but not -fPIE - obviously an oversight.

Committed as obvious.

Richard.

2014-03-25  Richard Biener  <rguent...@suse.de>

        * lto-wrapper.c (merge_and_complain): Handle OPT_fPIE like
        OPT_fpie.
        (run_gcc): Likewise.

Index: gcc/lto-wrapper.c
===================================================================
*** gcc/lto-wrapper.c   (revision 208789)
--- gcc/lto-wrapper.c   (working copy)
*************** merge_and_complain (struct cl_decoded_op
*** 406,411 ****
--- 406,412 ----
          /* Fallthru.  */
        case OPT_fPIC:
        case OPT_fpic:
+       case OPT_fPIE:
        case OPT_fpie:
        case OPT_fcommon:
        case OPT_fexceptions:
*************** run_gcc (unsigned argc, char *argv[])
*** 671,676 ****
--- 672,678 ----
        {
        case OPT_fPIC:
        case OPT_fpic:
+       case OPT_fPIE:
        case OPT_fpie:
        case OPT_fcommon:
        case OPT_fexceptions:

Reply via email to