[PATCH 0/2] cross-build support, updated

Petr Ovtchenkov ptr@void-ptr.info
Fri Jun 24 04:28:10 GMT 2022


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

-- 
2.35.1.1.ge5a6898900



More information about the Elfutils-devel mailing list