source: trunk/dports/math/atlas/files/patch-mmparse_h.diff @ 82670

Last change on this file since 82670 was 82670, checked in by vince@…, 9 years ago

Avoid ATLAS to use plain 'gcc' despite configuration orders (#30750)

File size: 838 bytes
  • include/atlas_mmparse.h

    old new  
    243243 *  use an old GOODGCC that lacks something like -pg.
    244244 */
    245245{
    246    ATL_mmnode_t *kp;  /* queue to make sub in */
    247    char *gcc;
    248    gcc = GetGoodGcc();
    249    for (kp=bp; kp; kp = kp->next)
    250    {
    251       if (kp->comp && !strcmp(kp->comp, gcc))
    252       {
    253          free(kp->comp);
    254          kp->comp = DupString("gcc");
    255       }
    256    }
    257246}
    258247
    259248/* procedure 11 */
     
    266255 * to help portability
    267256 */
    268257{
    269    ATL_mmnode_t *kp;  /* queue to make sub in */
    270    char *gcc;
    271    gcc = GetGoodGcc();
    272    for (kp=bp; kp; kp = kp->next)
    273    {
    274       if (kp->comp && !strcmp(kp->comp, gcc))
    275       {
    276          free(kp->comp);
    277          kp->comp = DupString("gcc");
    278       }
    279    }
    280258}
    281259
    282260/* procedure 12 */
Note: See TracBrowser for help on using the repository browser.