summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-03-06 17:14:47 +0000
committerJay Freeman <saurik@saurik.com>2008-03-06 17:14:47 +0000
commit1ebbce21928caabdb4c053f8ab07cb5157a83a1d (patch)
tree79eb394f6ced19ea97067a3bf21574839344cc5c
parent6a40bcb83f2b7d1bfe60ff9b0f0445de4303f30b (diff)
Removing extern templates to make linking easier.
git-svn-id: http://svn.telesphoreo.org/trunk@159 514c082c-b64e-11dc-b46d-3d985efe055d
-rw-r--r--tool/patches/llvmgcc.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/tool/patches/llvmgcc.diff b/tool/patches/llvmgcc.diff
index ba25ae357..a1f96983b 100644
--- a/tool/patches/llvmgcc.diff
+++ b/tool/patches/llvmgcc.diff
@@ -1,3 +1,16 @@
+Index: libstdc++-v3/include/bits/c++config
+===================================================================
+--- libstdc++-v3/include/bits/c++config (revision 47984)
++++ libstdc++-v3/include/bits/c++config (working copy)
+@@ -172,7 +172,7 @@
+ // are already explicitly instantiated in the library binary. This
+ // substantially reduces the binary size of resulting executables.
+ #ifndef _GLIBCXX_EXTERN_TEMPLATE
+-# define _GLIBCXX_EXTERN_TEMPLATE 1
++# define _GLIBCXX_EXTERN_TEMPLATE 0
+ #endif
+
+
Index: configure
===================================================================
--- configure (revision 47984)