mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-29 15:11:58 +00:00
aedi: do not store absolute paths in object files
cmake generated makefiles pass absolute paths to compiler, -ffile-prefix-map command line option helps to avoid this issue make target doesn't need this options because it's built in-tree
This commit is contained in:
parent
41a7f8cac3
commit
e3289f88ba
1 changed files with 2 additions and 0 deletions
|
@ -393,6 +393,8 @@ class CMakeTarget(BuildTarget):
|
||||||
args = [
|
args = [
|
||||||
'cmake',
|
'cmake',
|
||||||
'-DCMAKE_BUILD_TYPE=Release',
|
'-DCMAKE_BUILD_TYPE=Release',
|
||||||
|
f'-DCMAKE_C_FLAGS="-ffile-prefix-map={state.source}/="',
|
||||||
|
f'-DCMAKE_CXX_FLAGS="-ffile-prefix-map={state.source}/="',
|
||||||
f'-DCMAKE_INSTALL_PREFIX={state.install_path}',
|
f'-DCMAKE_INSTALL_PREFIX={state.install_path}',
|
||||||
f'-DCMAKE_PREFIX_PATH={state.prefix_path}',
|
f'-DCMAKE_PREFIX_PATH={state.prefix_path}',
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue