pacman/scripts
Xiretza 95ef989978 makepkg: use -ffile-prefix-map instead of -fdebug-prefix-map
>From gcc(1):

-ffile-prefix-map=old=new
	[...] Specifying this option is equivalent to specifying all the
	individual -f*-prefix-map options. This can be used to make reproducible
	builds that are location independent.

Specifically, this additionally enables -fmacro-prefix-map=, which causes
prefix mapping to be applied to expansions of __FILE__ and similar macros.

Without this option, if source files are compiled by passing the
absolute file path to the compiler (as done by e.g. cmake), any
expansions of __FILE__ (e.g. from uses of assert()) will contain
$srcdir.

Signed-off-by: Allan McRae <allan@archlinux.org>
(cherry picked from commit e37f7d8b6b)
2022-10-02 11:16:56 +10:00
..
completion Always enable TotalDownload 2021-04-23 09:43:30 +10:00
libmakepkg makepkg: use -ffile-prefix-map instead of -fdebug-prefix-map 2022-10-02 11:16:56 +10:00
po Final update of 6.0.x translations from Transifex 2022-09-26 21:09:49 +10:00
.gitignore libmakepkg: install pkg-config file 2019-05-08 12:46:33 +10:00
libmakepkg.pc.in Update urls to not use www. for archlinux.org 2021-04-08 10:14:33 +10:00
makepkg-template.pl.in Update copyright year 2021-03-01 12:22:20 +10:00
makepkg.sh.in makepkg: add tool details to buildinfo to aid determining flags 2021-04-23 09:07:40 +10:00
meson.build meson: make non-symlink scripts install for real, and use a better wrapper 2019-11-26 10:49:57 +10:00
pacman-db-upgrade.sh.in Update copyright year 2021-03-01 12:22:20 +10:00
pacman-key.sh.in pacman-key: Reduce gpg trustdb checks 2021-09-04 13:43:26 +10:00
repo-add.sh.in Update copyright year 2021-03-01 12:22:20 +10:00
wrapper.sh.in Update copyright year 2021-03-01 12:22:20 +10:00