diff options
author | Andy Polyakov <appro@openssl.org> | 2016-03-14 20:56:44 +0100 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2016-03-21 11:11:19 +0100 |
commit | c75065e1ea4d4597a11f6bbe1e00e9e9f77e94aa (patch) | |
tree | 8d7a064add6b2fbacd4a221f0098c42ccffb08ee | |
parent | 3e67b33346d066feb3111610e1d0d096899fd148 (diff) |
Configurations/10-main.conf: freeze -std option in darwin*-ppc-cc.
RT#4422
Reviewed-by: Richard Levitte <levitte@openssl.org>
-rw-r--r-- | Configurations/10-main.conf | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index 5b64803810..8909700510 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -1507,15 +1507,18 @@ sub vc_wince_info { shared_ldflag => "-dynamiclib", shared_extension => ".\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib", }, + # Option "freeze" such as -std=gnu9x can't negatively interfere + # with future defaults for below two targets, because MacOS X + # for PPC has no future, it was discontinued by vendor in 2009. "darwin-ppc-cc" => { inherit_from => [ "darwin-common", asm("ppc32_asm") ], - cflags => add("-arch ppc -DB_ENDIAN -Wa,-force_cpusubtype_ALL"), + cflags => add("-arch ppc -std=gnu9x -DB_ENDIAN -Wa,-force_cpusubtype_ALL"), perlasm_scheme => "osx32", shared_ldflag => "-arch ppc -dynamiclib", }, "darwin64-ppc-cc" => { inherit_from => [ "darwin-common", asm("ppc64_asm") ], - cflags => add("-arch ppc64 -DB_ENDIAN"), + cflags => add("-arch ppc64 -std=gnu9x -DB_ENDIAN"), bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHAR", perlasm_scheme => "osx64", shared_ldflag => "-arch ppc64 -dynamiclib", |