Changeset 9b34766


Ignore:
Timestamp:
Aug 20, 2020, 10:59:53 PM (15 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
9705ffe
Parents:
74f5c83
Message:

add command-line flag -latomic for ARM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • driver/cfa.cc

    r74f5c83 r9b34766  
    1010// Created On       : Tue Aug 20 13:44:49 2002
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sat May 30 18:28:23 2020
    13 // Update Count     : 433
     12// Last Modified On : Tue Aug 18 16:40:22 2020
     13// Update Count     : 435
    1414//
    1515
     
    435435                args[nargs++] = "-Wl,--pop-state";
    436436                args[nargs++] = "-pthread";
    437                 #ifdef __x86_64__
     437                #if defined(  __x86_64__ ) || defined( __ARM_ARCH )
    438438                args[nargs++] = "-latomic";                                             // allow double-wide CAS
    439439                #endif // __x86_64__
Note: See TracChangeset for help on using the changeset viewer.