Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 882515 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +6 lines)
Line  Link Here
0
-- a/SConstruct
0
++ b/SConstruct
Lines 3217-3224 if not env.TargetOSIs('windows', 'macOS') and (env.Too Link Here
3217
    # setting it for both C and C++ by setting both of CFLAGS and
3205
    # setting it for both C and C++ by setting both of CFLAGS and
3218
    # CXXFLAGS.
3206
    # CXXFLAGS.
3219
3207
3208
    arm_march_flag = "armv8-a"
3209
    if get_option('use-hardware-crc32') == "on":
3210
        arm_march_flag += "+crc"
3211
3220
    default_targeting_flags_for_architecture = {
3212
    default_targeting_flags_for_architecture = {
3221
        "aarch64": {"-march=": "armv8.2-a", "-mtune=": "generic"},
3213
        "aarch64": {"-march=": arm_march_flag, "-mtune=": "generic"},
3222
        "i386": {"-march=": "nocona", "-mtune=": "generic"},
3214
        "i386": {"-march=": "nocona", "-mtune=": "generic"},
3223
        "ppc64le": {"-mcpu=": "power8", "-mtune=": "power8", "-mcmodel=": "medium"},
3215
        "ppc64le": {"-mcpu=": "power8", "-mtune=": "power8", "-mcmodel=": "medium"},
3224
        "s390x": {"-march=": "z196", "-mtune=": "zEC12"},
3216
        "s390x": {"-march=": "z196", "-mtune=": "zEC12"},

Return to bug 882515