diff options
author | aSoujyuTanaka <soujyu.tanaka@access-company.com> | 2020-04-12 04:00:17 +0900 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-07-15 23:06:13 +0200 |
commit | be4c4237ce26d1f484add07e6e34e2650c7b7102 (patch) | |
tree | e9822dc42a156bd497beea4b7fa5f518a26b0e6b /Configurations | |
parent | 88bc70366b0cfd77616083c550a40fb0f84c5379 (diff) |
To generate makefile with correct parameters for WinCE.
Reviewed-by: Mark J. Cox <mark@awe.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11526)
(cherry picked from commit a1736f37aee855fecf463b9f15519e12c333ecfc)
Diffstat (limited to 'Configurations')
-rw-r--r-- | Configurations/10-main.conf | 6 | ||||
-rw-r--r-- | Configurations/windows-makefile.tmpl | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index 3b07731db8..eb92c24f48 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -1365,9 +1365,9 @@ my %targets = ( } push @ex_libs, '$(PORTSDK_LIBPATH)/portlib.lib' if (defined(env('PORTSDK_LIBPATH'))); - push @ex_libs, ' /nodefaultlib coredll.lib corelibc.lib' - if (env('TARGETCPU') eq "X86"); - return @ex_libs; + push @ex_libs, '/nodefaultlib coredll.lib corelibc.lib' + if (env('TARGETCPU') =~ /^X86|^ARMV4[IT]/); + return join(" ", @ex_libs); }), }, diff --git a/Configurations/windows-makefile.tmpl b/Configurations/windows-makefile.tmpl index 8ef70b8699..9351149fe8 100644 --- a/Configurations/windows-makefile.tmpl +++ b/Configurations/windows-makefile.tmpl @@ -211,8 +211,8 @@ CNF_CPPFLAGS={- our $cppfags2 = join(' ', $target{cppflags} || (), (map { '-D'.quotify1($_) } @{$target{defines}}, @{$config{defines}}), - (map { '-I'.quotify1($_) } @{$target{includes}}, - @{$config{includes}}), + (map { '-I'.'"'.$_.'"' } @{$target{includes}}, + @{$config{includes}}), @{$config{cppflags}}) -} CNF_CFLAGS={- join(' ', $target{cflags} || (), @{$config{cflags}}) -} |