mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-15 14:15:54 -06:00
[PR #173] [MERGED] Expanded multiarch support. #432
Labels
No labels
awaiting user feedback
bug
cmake
cmake
docs
feature request
in progress
long term
medium term
medium term
pull-request
question
question
ready to close
short term
under investigation
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/libxlsxwriter#432
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jmcnamara/libxlsxwriter/pull/173
Author: @Alexhuszagh
Created: 4/27/2018
Status: ✅ Merged
Merged: 4/27/2018
Merged by: @jmcnamara
Base:
master← Head:master📝 Commits (1)
055516eBug fix for #166, adding multiarch support and build toolchains for i686 on x86_64 systems.📊 Changes
2 files changed (+29 additions, -6 deletions)
View changed files
📝
CMakeLists.txt(+22 -6)➕
cmake/i686-toolchain.cmake(+7 -0)📄 Description
On Linux systems this:
For example, to build a 32-bit library on a x86_64 Linux, you may do:
It would technically be possible to use an option to pass to CMake, however, this would not work if libxlsxwriter is used as a dependency in another project, while a toolchain with the proper flags for libxlsxwriter (CMAKE_C_FLAGS) and potentially for other projects that use libxlsxwriter (CMAKE_CXX_FLAGS and CMAKE_ASM_FLAGS) would prevent any discontinuities between the binary architecture of the libxlsxwriter target and that of the parent project.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.