Commit b3895f55 authored by Alexandre Julliard's avatar Alexandre Julliard

winebuild: Include x86-64 entry points in ARM64EC builds.

parent 955664c8
...@@ -539,6 +539,10 @@ static const char *parse_spec_flags( DLLSPEC *spec, ORDDEF *odp, const char *tok ...@@ -539,6 +539,10 @@ static const char *parse_spec_flags( DLLSPEC *spec, ORDDEF *odp, const char *tok
token = GetToken(0); token = GetToken(0);
} while (token && *token == '-'); } while (token && *token == '-');
/* x86-64 implies arm64ec */
if (odp->flags & FLAG_CPU(CPU_x86_64)) odp->flags |= FLAG_CPU(CPU_ARM64EC);
if (cpu_mask & FLAG_CPU(CPU_x86_64)) cpu_mask |= FLAG_CPU(CPU_ARM64EC);
if (cpu_mask) odp->flags |= FLAG_CPU_MASK & ~cpu_mask; if (cpu_mask) odp->flags |= FLAG_CPU_MASK & ~cpu_mask;
return token; return token;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment