gallivm: Fix x86 build with llvm-3.0svn.
LLVM revision 133739 renamed StackAlignment to StackAlignmentOverride.
This commit is contained in:
parent
45aecf0114
commit
ad7387fe12
|
@ -83,8 +83,12 @@ lp_set_target_options(void)
|
||||||
* to only assume a 4 bytes alignment for backwards compatibility.
|
* to only assume a 4 bytes alignment for backwards compatibility.
|
||||||
*/
|
*/
|
||||||
#if defined(PIPE_ARCH_X86)
|
#if defined(PIPE_ARCH_X86)
|
||||||
|
#if HAVE_LLVM >= 0x0300
|
||||||
|
llvm::StackAlignmentOverride = 4;
|
||||||
|
#else
|
||||||
llvm::StackAlignment = 4;
|
llvm::StackAlignment = 4;
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(DEBUG) || defined(PROFILE)
|
#if defined(DEBUG) || defined(PROFILE)
|
||||||
llvm::NoFramePointerElim = true;
|
llvm::NoFramePointerElim = true;
|
||||||
|
|
Loading…
Reference in New Issue