diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2008-11-18 12:25:04 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2008-11-18 12:25:04 +0000 |
commit | a64d8d26b6f9c1fc3c97605c802bb4ed185dc3bf (patch) | |
tree | d2d2806dba358624acfc7175c3bc4d6dbdca4857 /core/gcc/pt_gnu_eh_frame.patch | |
parent | fc2f197480ac9258a19813d0e9190eec0d7058a3 (diff) | |
download | aports-a64d8d26b6f9c1fc3c97605c802bb4ed185dc3bf.tar.bz2 aports-a64d8d26b6f9c1fc3c97605c802bb4ed185dc3bf.tar.xz |
core/gcc: hack to not link all built programs to libgcc.
Diffstat (limited to 'core/gcc/pt_gnu_eh_frame.patch')
-rw-r--r-- | core/gcc/pt_gnu_eh_frame.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/core/gcc/pt_gnu_eh_frame.patch b/core/gcc/pt_gnu_eh_frame.patch new file mode 100644 index 0000000000..3e029104aa --- /dev/null +++ b/core/gcc/pt_gnu_eh_frame.patch @@ -0,0 +1,12 @@ +--- gcc-4.3.2/gcc/crtstuff.c.orig Mon Nov 17 16:02:38 2008 ++++ gcc-4.3.2/gcc/crtstuff.c Mon Nov 17 16:02:52 2008 +@@ -94,8 +94,7 @@ + #include <link.h> + /* uClibc pretends to be glibc 2.2 and DT_CONFIG is defined in its link.h. + But it doesn't use PT_GNU_EH_FRAME ELF segment currently. */ +-# if !defined(__UCLIBC__) \ +- && (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) \ ++# if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) \ + || (__GLIBC__ == 2 && __GLIBC_MINOR__ == 2 && defined(DT_CONFIG))) + # define USE_PT_GNU_EH_FRAME + # endif |