Skip to content

Commit 06b4c33

Browse files
committed
depends: Fix reproducibility when building with MULTIPROCESS=1
1 parent d8e3afc commit 06b4c33

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

depends/packages/capnp.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ define $(package)_set_vars :=
99
$(package)_config_opts := -DBUILD_TESTING=OFF
1010
$(package)_config_opts += -DWITH_OPENSSL=OFF
1111
$(package)_config_opts += -DWITH_ZLIB=OFF
12+
$(package)_cxxflags += -ffile-prefix-map=$$($(package)_extract_dir)=/usr
1213
endef
1314

1415
define $(package)_config_cmds

depends/packages/libmultiprocess.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ ifneq ($(host),$(build))
1313
$(package)_config_opts := -DCAPNP_EXECUTABLE="$$(native_capnp_prefixbin)/capnp"
1414
$(package)_config_opts += -DCAPNPC_CXX_EXECUTABLE="$$(native_capnp_prefixbin)/capnpc-c++"
1515
endif
16+
$(package)_cxxflags += -ffile-prefix-map=$$($(package)_extract_dir)=/usr
1617
endef
1718

1819
define $(package)_config_cmds

0 commit comments

Comments
 (0)