---
ChangeLog | 5 +++++
distrib/macports/Portfile.in | 7 ++++++-
2 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index ea52f60..596ad39 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2011-09-15 Guillaume Lazzara <z(a)lrde.epita.fr>
+ * distrib/macports/Portfile.in: Use -fno-strict-aliasing flag for
+ Mac OS X Lion.
+
+2011-09-15 Guillaume Lazzara <z(a)lrde.epita.fr>
+
Fix Portfile dependencies.
* distrib/macports/Portfile.in: Set fop as run dependency.
diff --git a/distrib/macports/Portfile.in b/distrib/macports/Portfile.in
index d63ec8d..13d5ea7 100644
--- a/distrib/macports/Portfile.in
+++ b/distrib/macports/Portfile.in
@@ -39,4 +39,9 @@ variant swilena description {Add Python bindings} {
configure.args-append --enable-swilena
}
-default_variants +scribo
\ No newline at end of file
+# Temporary workaround because of a Apple's GCC bug.
+platform darwin 11 {
+ configure.env-append CXXFLAGS=-fno-strict-aliasing
+}
+
+default_variants +scribo
--
1.7.2.5
Show replies by date