Lior Suliman has uploaded this change for review.

View Change

CMakeLists: Resolve __FILE__ to a relative path to the project

This is made so logs will not contain the full path to source files

Change-Id: I9c7b98d0eecae497f8d8524821529ba94668edca

src/CMakeLists: Added a check for the file-prefix-map flag before using it

RockyLinux: Use -fmacro-prefix-map instead of -ffile-prefix-map

- The intention behind introducing a new compiler flag was to eliminate lengthy file names in Ganesha logs.
However, this flag also modifies the source file paths in binary executables, making it impossible to debug using gdb.

Change-Id: Id55cf35f0b0415967c7c11d87e0f3fb508f0a2e8
Signed-off-by: Lior Suliman <liorsu@gmail.com>
---
M src/CMakeLists.txt
1 file changed, 8 insertions(+), 0 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/06/1201406/1

To view, visit change 1201406. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Id55cf35f0b0415967c7c11d87e0f3fb508f0a2e8
Gerrit-Change-Number: 1201406
Gerrit-PatchSet: 1
Gerrit-Owner: Lior Suliman <liorsu@google.com>