• Martin Storsjö's avatar
    configure: Don't assume an aligned stack on clang on windows · 847190eb
    Martin Storsjö authored
    If we'd enable a 16 byte aligned stack, clang/llvm would also assume
    that alignment everywhere and produce code that strictly requires it.
    That would require adding realignment (via attribute_align_arg) on every
    single public library function or enable -mstackrealign (which does the
    same on every single function).
    
    Also relatedly; the parameter currently tested (-mllvm
    -stack-alignment=16) hasn't actually been supported for quite some
    time; current clang versions use -mstack-alignment=16 for the same.
    Actually testing for that parameter would be a different change
    though, since it has a real risk of changing behaviour on any other
    platform where clang is used.
    Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
    847190eb
configure 164 KB