From 2dab85d0343da652f1e0de36f1a84c3d8a568540 Mon Sep 17 00:00:00 2001 From: Jacek Konieczny Date: Mon, 21 Sep 2015 10:21:34 +0200 Subject: [PATCH] Let our RPM handle debug symbols Use --disable-debug-symbols to disable openjdk magic for creating debuginfo/diz files and re-enable some optimizations tweaking for debugging. --- openjdk8.spec | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/openjdk8.spec b/openjdk8.spec index ecc08a7..a99256f 100644 --- a/openjdk8.spec +++ b/openjdk8.spec @@ -6,7 +6,6 @@ # - build alternative VM for x32 # - include icedtea-sound? # - port PLD-specific changes from icedtea7? -# - '*** WARNING: no sources found for ...' %bcond_with bootstrap # build a bootstrap version, using icedtea6 %bcond_without cacerts # don't include the default CA certificates @@ -446,10 +445,12 @@ export SHELL=/bin/bash chmod a+x configure +# disable-debug-symbols so openjdk debuginfo handling won't conflict with ours %configure \ --with-extra-cflags="%{rpmcflags}" \ --with-extra-cxxflags="%{rpmcxxflags}" \ --with-extra-ldflags="%{rpmldflags}" \ + --disable-debug-symbols \ --with-giflib=bundled \ --with-libjpeg=system \ --with-libpng=system \ @@ -459,13 +460,18 @@ chmod a+x configure specdir="$(dirname build/*-release/spec.gmk)" cat > $specdir/custom-spec.gmk <