summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2013-02-02 06:40:23 +0000
committerPatrick Lauer <patrick@gentoo.org>2013-02-02 06:40:23 +0000
commit9373965e03202864904d4d03ae3fd7e4c6323533 (patch)
treee5290e84774b7f41b4f242709b96f7146a9526b6 /sci-geosciences/gmt/files
parenttestBCLookup added to list of disabled tests requiring network connection, fi... (diff)
downloadhistorical-9373965e03202864904d4d03ae3fd7e4c6323533.tar.gz
historical-9373965e03202864904d4d03ae3fd7e4c6323533.tar.bz2
historical-9373965e03202864904d4d03ae3fd7e4c6323533.zip
Bump
Package-Manager: portage-2.2.0_alpha161/cvs/Linux x86_64
Diffstat (limited to 'sci-geosciences/gmt/files')
-rw-r--r--sci-geosciences/gmt/files/gmt-4.5.9-no-strip.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/sci-geosciences/gmt/files/gmt-4.5.9-no-strip.patch b/sci-geosciences/gmt/files/gmt-4.5.9-no-strip.patch
new file mode 100644
index 000000000000..f57f1d811b05
--- /dev/null
+++ b/sci-geosciences/gmt/files/gmt-4.5.9-no-strip.patch
@@ -0,0 +1,38 @@
+Drop manipulation of several flags:
+
+* stripping of -g from CFLAGS, as it interferes with deliberate
+ generation of debug symbols and breaks on flags like -ggdb.
+* Addition of -s resp. -Wl,-x to LDFLAGS, as stipping of binaries is
+ done as a separate step on Gentoo (and many other distros) in order
+ to faciliate retention or splitting of debug symbols.
+* Setting of optimization flags, as the user should be free to choose
+ them.
+
+2009-07-27 Martin von Gagern
+
+Reference: http://bugs.gentoo.org/279268
+
+Index: GMT4.5.0/configure.ac
+===================================================================
+--- GMT4.5.0.orig/configure.ac
++++ GMT4.5.0/configure.ac
+@@ -527,19 +527,6 @@ if test "X$enable_debug" = "Xyes" ; then
+ AC_MSG_RESULT(yes)
+ CFLAGS="$CFLAGS -g"
+ else
+- CFLAGS=`echo $CFLAGS | sed 's/-g//'`
+- if test "$os" = "Darwin" ; then
+- LDFLAGS="$LDFLAGS -Wl,-x"
+- else
+- LDFLAGS="$LDFLAGS -s"
+- fi
+- if test "$GCC" = "yes" || test "$os" = "Linux" || test "$os" = "AIX"; then
+- CFLAGS="$CFLAGS -O2"
+- elif test "$chip" = "alpha" || test "$os" = "AUX" || test "$os" = "HP-UX"; then
+- CFLAGS="$CFLAGS"
+- else
+- CFLAGS="$CFLAGS -O"
+- fi
+ AC_MSG_RESULT(no)
+ fi
+ dnl -----------------------------------------------------------------