[DRE-maint] Bug#848660: ruby: might need to strip -fdebug-prefix-map
zeha at debian.org
Tue Feb 12 09:27:13 GMT 2019
* Chris Lamb <lamby at debian.org> [190211 22:53]:
> > dpkg-buildflags has started injecting -fdebug-prefix-map with a
> > variable path into C(..)FLAGS. We need to figure out if we need to
> > strip that.
> Strip it? As in, the output of CFLAGS ends up in the build...?
=> "-g -O2 -fdebug-prefix-map=/build/ruby2.3-TqM27i/ruby2.3-2.3.3=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC"
AFAIK the popular extension building mechanisms (mkmf et al) use this
to discover the required build flags when compiling native extensions.
Maybe it does not matter in practice, but that is part of "figuring
it out" :-)
More information about the Pkg-ruby-extras-maintainers