Skip to content

Commit

Permalink
8326685: Linux builds not reproducible if two builds configured in di…
Browse files Browse the repository at this point in the history
…fferent build folders

Backport-of: 3b90ddfefea36d9f7f08ff11cd0cb099aa32b02b
  • Loading branch information
Andrew Leonard authored and jerboaa committed Mar 11, 2024
1 parent 8f08066 commit e2858b5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions make/autoconf/flags-cflags.m4
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,11 @@ AC_DEFUN([FLAGS_SETUP_DEBUG_SYMBOLS],
# Add debug prefix map gcc system include paths, as they cause
# non-deterministic debug paths depending on gcc path location.
DEBUG_PREFIX_MAP_GCC_INCLUDE_PATHS
# Add debug prefix map for OUTPUTDIR to handle the scenario when
# it is not located within WORKSPACE_ROOT
outputdir_slash="${OUTPUTDIR%/}/"
DEBUG_PREFIX_CFLAGS="$DEBUG_PREFIX_CFLAGS -fdebug-prefix-map=${outputdir_slash}="
]
)
fi
Expand Down

1 comment on commit e2858b5

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.