wlroots/util
Manuel Stoeckl bb05617414 Use -fmacro-prefix-map to strip build path
This commit matches sway's 2dc4978d8af326c310057ca8fd22a4c7f5d09335.

To help ensure a reproducible build (when debug info is disabled),
the meson build script now uses the -fmacro-prefix-map command line
argument supported by GCC to strip the build-path dependent bytes
of each __FILE__ string used by wlr_log and related functions.

A rather ugly algorithm is used to compute the relative path between
the build and source folders, because meson has no specific function
for this.

When the compiler does not support -fmacro-prefix-map, fall back
to shifting the start of each __FILE__ string by the length of the
relative path to the source directory.
2019-07-17 21:00:09 -04:00
..
array.c Use a set to track pointer button state. 2019-06-16 00:59:53 +03:00
log.c Use -fmacro-prefix-map to strip build path 2019-07-17 21:00:09 -04:00
meson.build util: use shm_open for in-memory files 2018-10-28 22:39:54 +01:00
region.c Fix implicit conversion of floats to ints in calls to pixman_region32_contains_point 2018-09-18 13:05:44 +02:00
shm.c Use ftruncate to set shared memory object's size 2018-11-09 18:29:19 +01:00
signal.c Make wlr_signal_emit_safe private 2018-02-12 19:52:47 +01:00