Sergio: you introduced that to suppress a Debian warning about use of hardened build flags, do you still think that the Debian flags should be used in the cross-compilation case?
BogDan: Could you give some more details on the cross-compile failure that this patch fixes?
This patch is effectively a revert of [r4731] from [bugs:#262].
Sergio: you introduced that to suppress a Debian warning about use of hardened build flags, do you still think that the Debian flags should be used in the cross-compilation case?
BogDan: Could you give some more details on the cross-compile failure that this patch fixes?
Related
Bugs:
#262Commit: [r4731]
I think BogDan is using CFLAGS for setting up the arch, that would prevent running make_perl in the build machine.
IMO this patch is better than the current state. We could set the hardening flags in Debian by adding CFLAGS_FOR_BUILD.
Anyway, the use makeperl for cross compiling is flawed without stdint.h. I still hope that makeperl will be removed before the next release.
Last edit: Sergio Baldoví 2016-04-09
I think Sergio answered for me. When compiling for Android I need to set Android specific CFLAGS (check https://github.com/bog-dan-ro/spectacol/blob/master/build/android.sh) which doesn't work for host tools :)
Thanks, committed in [r5381].
Related
Commit: [r5381]