Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.245
 
1.246
 
MAIN:ragge:20120829145713
 
cc.c
_>430430                 Eflag = cppflag = 1;
 431431         }
 432432 
<> 433+#ifdef EARLY_SETUP
  434+        EARLY_SETUP;
  435+#endif
  436+
433437 #ifdef os_win32
 434438         /* have to prefix path early.  -B may override */
 435439         incdir = win32pathsubst(incdir);
     
 !
570574                         break;
 571575 
 572576                 case 'f': /* GCC compatibility flags */
<>573 -                        if (strcmp(argp, "-fPIC") == 0)
 574 -                                kflag = F_PIC;
 575 -                        else if (strcmp(argp, "-fpic") == 0)
 576 -                                kflag = F_pic;
 577 -                        else if (strcmp(argp, "-ffreestanding") == 0)
 578 -                                freestanding = 1;
 579 -                        else if (match(argp, "-fsigned-char") ||
 580 -                            match(argp, "-fno-unsigned-char"))
 581 -                                xuchar = 0;
 582 -                        else if (match(argp, "-fno-signed-char") ||
 583 -                            match(argp, "-funsigned-char"))
 584 -                                xuchar = 1;
 585 -                        else if (match(argp, "-fstack-protector") ||
 586 -                            match(argp, "-fstack-protector-all")) {
 587 -                                sspflag++;
 588 -                        } else if (match(argp, "-fno-stack-protector") ||
 589 -                            match(argp, "-fno-stack-protector-all")) {
 590 -                                sspflag = 0;
  577+                        u = &argp[2];
  578+                        j = 0;
  579+                        if (strncmp(u, "no-", 3) == 0)
  580+                                j = 1, u += 3;
  581+                        if (match(u, "PIC") || match(u, "pic")) {
  582+                                kflag = j ? 0 : *u == 'P' ? F_PIC : F_pic;
  583+                        } else if (match(u, "freestanding")) {
  584+                                freestanding = j ? 0 : 1;
  585+                        } else if (match(u, "signed-char")) {
  586+                                xuchar = j ? 1 : 0;
  587+                        } else if (match(u, "unsigned-char")) {
  588+                                xuchar = j ? 0 : 1;
  589+                        } else if (match(argp, "stack-protector") ||
  590+                            match(argp, "stack-protector-all")) {
  591+                                sspflag = j ? 0 : 1;
<_591592                         }
 592593                         /* silently ignore the rest */
 593594                         break;
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-09-01 23:02 +0200