Skip to content

Commit

Permalink
config: fix invalid target triple for arm
Browse files Browse the repository at this point in the history
The triple arm-openwrt-linux-muslgnueabi isn't recognized by e.g. clang:

    clang: error: version 'gnueabi' in target triple 'arm-openwrt-linux-muslgnueabi' is invalid
    clang: warning: unknown platform, assuming -mfloat-abi=soft

Fix by dropping the 'gnu' from what looks like an old C/P mistake.

Fixes: 6b63716 ("add preliminary support for musl")
Signed-off-by: Tony Ambardar <[email protected]>
  • Loading branch information
guidosarducci committed Dec 5, 2024
1 parent 711e9a5 commit 9283254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toolchain/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ config TARGET_SUFFIX
string
default "gnueabi" if USE_GLIBC && (arm || armeb)
default "gnu" if USE_GLIBC && !(arm || armeb)
default "muslgnueabi" if USE_MUSL && (arm || armeb)
default "musleabi" if USE_MUSL && (arm || armeb)
default "musl" if USE_MUSL && !(arm || armeb)

config MIPS64_ABI
Expand Down

0 comments on commit 9283254

Please sign in to comment.