Skip to content

Makefile: support cross-compilation#16

Merged
rail5 merged 1 commit intorail5:mainfrom
Nizarjh:fix-cross-build
May 1, 2026
Merged

Makefile: support cross-compilation#16
rail5 merged 1 commit intorail5:mainfrom
Nizarjh:fix-cross-build

Conversation

@Nizarjh
Copy link
Copy Markdown
Contributor

@Nizarjh Nizarjh commented Apr 30, 2026

Checks

Description

I changed the Makefile so people can cross-build and package it without patching anything, just by passing a different compiler/toolchain and flags from the environment. I also cleaned up the flags by using the standard CPPFLAGS/CXXFLAGS/LDFLAGS split and stopped forcing -s in compile flags so debug builds and distro hardening don’t get messed up

License Agreement

I hereby confirm that the work submitted in this pull request is my own and I agree that my contributions will be licensed under the same license as the project, which is the GNU General Public License v3.0 or later (GPL-3.0-or-later).

@Nizarjh Nizarjh marked this pull request as draft April 30, 2026 21:06
@Nizarjh Nizarjh force-pushed the fix-cross-build branch 2 times, most recently from b0e5335 to 5ba883c Compare April 30, 2026 21:16
@Nizarjh Nizarjh marked this pull request as ready for review April 30, 2026 21:22
@Nizarjh Nizarjh marked this pull request as draft April 30, 2026 21:26
@Nizarjh Nizarjh marked this pull request as ready for review April 30, 2026 21:38
@rail5 rail5 merged commit 7cf0ce2 into rail5:main May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants