Ignore:
Timestamp:
Apr 17, 2013, 2:29:55 PM (7 years ago)
Author:
vince@…
Message:

Add the ‘-force_cpusubtype_ALL’ flag for ppc builds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/math/atlas/Portfile

    r105311 r105312  
    261261    # PPC
    262262    set gcc_flags           "-O3 -mcpu=7400 -mtune=7400\
    263                             -fno-schedule-insns -fschedule-insns2 -fPIC"
     263                            -fno-schedule-insns -fschedule-insns2 -fPIC \
     264                            -force_cpusubtype_ALL"
    264265    set clang_flags         "-O3 -arch ppc -fPIC"
    265266
     
    283284    # PPC64
    284285    set gcc_flags           "-mcpu=970 -mtune=970 -mvrsave -mpowerpc64\
    285                             -fno-schedule-insns -fschedule-insns2 -fPIC"
     286                            -fno-schedule-insns -fschedule-insns2 -fPIC \
     287                            -force_cpusubtype_ALL"
    286288    # Clang has no PPC64 target so compile for PPC
    287289    set clang_flags         "-O3 -arch ppc -fPIC"
Note: See TracChangeset for help on using the changeset viewer.