[llvm-commits] [llvm-gcc-4.2] r59056 - /llvm-gcc-4.2/trunk/gcc/config/darwin.c
Evan Cheng
evan.cheng at apple.com
Tue Nov 11 09:51:49 PST 2008
Author: evancheng
Date: Tue Nov 11 11:51:49 2008
New Revision: 59056
URL: http://llvm.org/viewvc/llvm-project?rev=59056&view=rev
Log:
Unbreak Apple style build. Bill please fix this properly.
Modified:
llvm-gcc-4.2/trunk/gcc/config/darwin.c
Modified: llvm-gcc-4.2/trunk/gcc/config/darwin.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/darwin.c?rev=59056&r1=59055&r2=59056&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/darwin.c (original)
+++ llvm-gcc-4.2/trunk/gcc/config/darwin.c Tue Nov 11 11:51:49 2008
@@ -2696,10 +2696,12 @@
flag_stack_protect = 1;
#else
if (flag_stack_protect == -1 && darwin_macosx_version_min)
- if (strverscmp (darwin_macosx_version_min, "10.5") >= 0)
- flag_stack_protect = 0;
- else if (strverscmp (darwin_macosx_version_min, "10.6") >= 0)
- flag_stack_protect = 1;
+ {
+ if (strverscmp (darwin_macosx_version_min, "10.5") >= 0)
+ flag_stack_protect = 0;
+ else if (strverscmp (darwin_macosx_version_min, "10.6") >= 0)
+ flag_stack_protect = 1;
+ }
#endif
/* LLVM LOCAL end - Don't enable stack protectors by default for Leopard. */
/* APPLE LOCAL end stack-protector default 5095227 */
More information about the llvm-commits
mailing list