Strip .GCC.command.line from output files as well.
authorMichał Górny <mgorny@gentoo.org>
Wed, 21 Dec 2011 16:20:38 +0000 (17:20 +0100)
committerZac Medico <zmedico@gentoo.org>
Wed, 21 Dec 2011 19:30:01 +0000 (11:30 -0800)
bin/ebuild-helpers/prepstrip

index 241caafd2b24821822f1d3d87f4cd36cf314663d..1d7b3d2fd527e76f84f934a704ae2d9d9866a5ed 100755 (executable)
@@ -51,7 +51,7 @@ case $(${STRIP} --version 2>/dev/null) in
        # We'll leave out -R .note for now until we can check out the relevance
        # of the section when it has the ALLOC flag set on it ...
        SAFE_STRIP_FLAGS="--strip-unneeded"
-       DEF_STRIP_FLAGS="-R .comment"
+       DEF_STRIP_FLAGS="-R .comment -R .GCC.command.line"
        SPLIT_STRIP_FLAGS=
        ;;
 esac