summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-games/ogre/files/ogre-1.4.7-as-needed.patch')
-rw-r--r--dev-games/ogre/files/ogre-1.4.7-as-needed.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-games/ogre/files/ogre-1.4.7-as-needed.patch b/dev-games/ogre/files/ogre-1.4.7-as-needed.patch
new file mode 100644
index 000000000000..ce218097f770
--- /dev/null
+++ b/dev-games/ogre/files/ogre-1.4.7-as-needed.patch
@@ -0,0 +1,11 @@
+--- acinclude.m4.orig 2008-04-09 17:49:30.848987000 +0100
++++ acinclude.m4 2008-04-09 17:53:25.652068359 +0100
+@@ -340,7 +340,7 @@
+ * --disable-cg to this configure script but this is highly *
+ * discouraged as this breaks many of the examples. *
+ ****************************************************************])
+- )
++ ,-Xlinker --no-as-needed)
+ fi
+
+ AM_CONDITIONAL(BUILD_CGPLUGIN, test x$build_cg = xyes)