aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/postgres-xc.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/postgres-xc.rb')
-rw-r--r--Library/Formula/postgres-xc.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/postgres-xc.rb b/Library/Formula/postgres-xc.rb
index 1fb3fc85f..4c8e01495 100644
--- a/Library/Formula/postgres-xc.rb
+++ b/Library/Formula/postgres-xc.rb
@@ -31,6 +31,9 @@ class PostgresXc < Formula
def install
ENV.libxml2 if MacOS.version >= :snow_leopard
+ # See http://sourceforge.net/mailarchive/forum.php?thread_name=82E44F89-543A-44F2-8AF8-F6909B5DC561%40uniud.it&forum_name=postgres-xc-bugs
+ ENV.append 'CFLAGS', '-D_FORTIFY_SOURCE=0 -O2' if MacOS.version >= :mavericks
+
args = ["--disable-debug",
"--prefix=#{prefix}",
"--datadir=#{share}/#{name}",