[freenos] r420 committed - Disabling stack protector for Clang....

  • From: freenos@xxxxxxxxxxxxxx
  • To: freenos@xxxxxxxxxxxxx
  • Date: Fri, 22 Oct 2010 22:50:36 +0000

Revision: 420
Author: nieklinnenbank
Date: Fri Oct 22 15:44:59 2010
Log: Disabling stack protector for Clang.
For some reason this flag was not in the Clang config, while it should have been.

http://code.google.com/p/freenos/source/detail?r=420

Modified:
 /branches/scratch/system/x86/pc/config/clang.conf

=======================================
--- /branches/scratch/system/x86/pc/config/clang.conf Wed Oct 20 14:29:16 2010 +++ /branches/scratch/system/x86/pc/config/clang.conf Fri Oct 22 15:44:59 2010
@@ -19,7 +19,7 @@
 AS        = 'clang'
 LD        = 'clang'
 CFLAGS    = [ '-m32', '-Wall', '-Werror', '-nostdinc',
-             '-fno-builtin', '-g3', '-ansi' ]
+             '-fno-builtin', '-fno-stack-protector', '-g3', '-ansi' ]
 ASFLAGS   = [ '-m32', '-Wall', '-Werror', '-nostdinc' ]
LINKFLAGS = [ '-m32', '-static', '-nostdlib', '-nostartfiles', '-nodefaultlibs', '-Wl,-whole-archive' ]
 LINKUSER  = [ '-T', 'system/x86/pc/config/user.ld' ]

Other related posts:

  • » [freenos] r420 committed - Disabling stack protector for Clang.... - freenos