1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
Description: Allow non-Linux x86 architectures for mcode backend
A check in configure would make builds on hurd and kfreebsd fail as mcode
would activated due to being on x86, but the part selecting build flags would
not recognize the architecture string. Add recognition of *-gnu with the same
flags as the Linux builds.
Author: Andreas Bombe <aeb@debian.org>
Forwarded: not-needed
Last-Update: 2023-07-09
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/configure
+++ b/configure
@@ -442,6 +442,7 @@
*darwin*) ortho_flags="Flags_Macosx${mcode64}" ;;
*mingw32*) ortho_flags="Flags_Windows${mcode64}" ;;
*linux*) ortho_flags="Flags_Linux${mcode64}" ;;
+ *-gnu) ortho_flags="Flags_Linux${mcode64}" ;;
*openbsd*) ortho_flags="Flags_Macosx${mcode64}" ;;
*netbsd*) ortho_flags="Flags_Macosx${mcode64}" ;;
*) echo "Unsupported $build build for mcode"; exit 1;;
|