# HG changeset patch # User Jan Nieuwenhuizen # Date 1296396541 -3600 # Node ID 19fc7fdaa53a97de09f1469501c29a07fd453fc7 # Parent 03f54f905e1460256a9601b87dd969d16c2c9f06 linux::libgc: build fix --with-threads. diff -r 03f54f905e14 -r 19fc7fdaa53a gub/specs/libgc.py --- 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'