changeset 6450:19fc7fdaa53a

linux::libgc: build fix --with-threads.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Sun, 30 Jan 2011 15:09:01 +0100
parents 03f54f905e14
children ff3d95a637a7
files gub/specs/libgc.py
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gub/specs/libgc.py	Sat Jan 29 20:31:47 2011 +0100
+++ b/gub/specs/libgc.py	Sun Jan 30 15:09:01 2011 +0100
@@ -3,9 +3,13 @@
 
 class Libgc (target.AutoBuild):
     source = 'http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-7.1.tar.gz'
-    configure_flags = target.AutoBuild.configure_flags + ' --enable-threads=pthreads'
+    configure_flags = target.AutoBuild.configure_flags + '--enable-threads=pthreads '
     #source = 'http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc6.8.tar.gz&version=6.8'
 
+class Libgc__linux (Libgc):
+    configure_flags = (Libgc.configure_flags
+                       + 'CFLAGS=-fno-stack-protector ')
+
 class Libgc__freebsd (Libgc):
     make_flags = 'THREADDLLIBS=-pthread'