# HG changeset patch # User Jan Nieuwenhuizen # Date 1296396541 -3600 # Node ID f600fbfe4b1587c8330797f7bb860028f8975402 # Parent f496a91df3e585e7eff6d1d3ba66676490b05c47 linux::libgc: build fix --with-threads. diff -r f496a91df3e5 -r f600fbfe4b15 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'