mbox

[0/2] cross-build support, updated

Message ID 20220506174504.10952-1-ptr@void-ptr.info
Headers

Message

Petr Ovtchenkov May 6, 2022, 5:45 p.m. UTC
  Cross-build support updated for 59158656f3b:

  - build libeu.a for build host arch (in lib-host);
  - build i386_gendis for build host arch;
  - use i386_gendis for generating;
  - avoid _FORTIFY_SOURCE for helper programs on build host,
    this may not correspond to target _FORTIFY_SOURCE level.

Tricks in use only when cross-build detected.

See also https://sourceware.org/bugzilla/show_bug.cgi?id=28891

Possible problem (not critical, IMHO): not tested for
out-of-tree build.


Petr Ovtchenkov (2):
  support cross compilation
  drop _FORTIFY_SOURCE for host build

 Makefile.am          |  2 +-
 configure.ac         |  6 ++++++
 lib-host/Makefile.am | 48 ++++++++++++++++++++++++++++++++++++++++++++
 libcpu/Makefile.am   | 12 +++++++++++
 4 files changed, 67 insertions(+), 1 deletion(-)
 create mode 100644 lib-host/Makefile.am