mirror of
https://git.code.sf.net/p/mingw-w64/mingw-w64
synced 2024-11-23 01:44:43 +08:00
build: enable pseh only in x86
pseh supports only x86, no point in enabling it when libraries are enabled. This enables downstream to enable libraries without failing. Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> Signed-off-by: Jonathan Yong <10walls@gmail.com>
This commit is contained in:
parent
153318bc44
commit
5d0cce058c
@ -58,10 +58,14 @@ AC_ARG_WITH([libraries],
|
||||
[with_libraries=no])
|
||||
AS_CASE([$with_libraries],
|
||||
[yes|all],[
|
||||
with_libraries="libmangle,pseh,winpthreads"
|
||||
with_libraries="libmangle,winpthreads"
|
||||
with_libraries_winpthreads=yes
|
||||
with_libraries_mangle=yes
|
||||
with_libraries_pseh=yes],
|
||||
AS_CASE([$host_cpu],
|
||||
[i?86], [
|
||||
with_libraries="$with_libraries,pseh"
|
||||
with_libraries_pseh=yes
|
||||
])],
|
||||
[libmangle],[
|
||||
with_libraries="libmangle"
|
||||
with_libraries_winpthreads=no
|
||||
|
Loading…
Reference in New Issue
Block a user