From cca7c39910932b5444c0ce46775e8c6ce2d62f06 Mon Sep 17 00:00:00 2001 From: Stanislav Sedov Date: Mon, 14 Dec 2009 21:48:06 +0000 Subject: - Fix build with CLang. --- devel/libdispatch/files/patch-configure | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 devel/libdispatch/files/patch-configure (limited to 'devel/libdispatch/files') diff --git a/devel/libdispatch/files/patch-configure b/devel/libdispatch/files/patch-configure new file mode 100644 index 000000000000..5e1afe1e76fc --- /dev/null +++ b/devel/libdispatch/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig 2009-12-14 13:44:05.000000000 -0800 ++++ configure 2009-12-14 13:45:02.000000000 -0800 +@@ -19325,7 +19325,7 @@ + # should force that linkage already. + # + saveCFLAGS="$CFLAGS" +- CFLAGS="$CFLAGS -fblocks" ++ CFLAGS="$CFLAGS -fblocks -O0" + { $as_echo "$as_me:$LINENO: checking whether additional libraries are required for the Blocks runtime" >&5 + $as_echo_n "checking whether additional libraries are required for the Blocks runtime... " >&6; } + cat >conftest.$ac_ext <<_ACEOF -- cgit v1.2.3