summaryrefslogtreecommitdiff
path: root/debian/patches/dont-strip-images.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/dont-strip-images.diff')
-rw-r--r--debian/patches/dont-strip-images.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/dont-strip-images.diff b/debian/patches/dont-strip-images.diff
new file mode 100644
index 0000000..275eb5d
--- /dev/null
+++ b/debian/patches/dont-strip-images.diff
@@ -0,0 +1,13 @@
+--- a/common/autoconf/toolchain.m4
++++ b/common/autoconf/toolchain.m4
+@@ -679,7 +679,9 @@ AC_DEFUN_ONCE([TOOLCHAIN_SETUP_COMPILER_
+ LDEXE="$CC"
+ LDCXX="$CXX"
+ LDEXECXX="$CXX"
+- POST_STRIP_CMD="$STRIP -g"
++ if test -z "$POST_STRIP_CMD" ; then
++ POST_STRIP_CMD="$STRIP -g"
++ fi
+
+ # Linking is different on MacOSX
+ if test "x$OPENJDK_TARGET_OS" = xmacosx; then