El 07/09/13 18:27, Jérémy Bobbio escribió:
After poking some more at GCC and its documentation, I came up with the
attached patch. It only adds two new switches to the CFLAGS:
`-fdebug-prefix-map=` to adjust the source path and
`-gno-record-gcc-switches` to prevent the difference in
`-fdebug-prefix-map=` values from affecting the output.
Does that sound more acceptable to you?
It would be more acceptable, yes, but IMHO your target "example package"
should be hello-debhelper, which uses "dh", not hello.
[ In fact, I'm actually planning to rename hello as hello-traditional
and hello-debhelper as just hello at the next upstream release ].
If you have to change *anything* in hello-debhelper to achieve your
goal, you can reasonably assume that you will potentially have to change
each and every package, which would be insane.
Depending on the changes you make to things like gcc and dpkg-dev first,
the amount of changes in other packages could be a lot smaller.
In other words, I see a great difference between A and B, being:
A) You have to change each and every package.
B) Ypu only have to change each and every package which does *not* use
dh/cdbs/etc.
I wish you luck in both cases but I think your goal will be a lot easier
to achieve if you avoid A and try B first.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]