mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-18 14:26:47 +02:00
15 lines
875 B
Diff
15 lines
875 B
Diff
Remove the hardcoded emulation mode elf_$XARCH
|
|
|
|
diff --git a/test/build_defs/cc_embed_binary.build_defs b/test/build_defs/cc_embed_binary.build_defs
|
|
index d17aac9..cc8a4fc 100644
|
|
--- a/test/build_defs/cc_embed_binary.build_defs
|
|
+++ b/test/build_defs/cc_embed_binary.build_defs
|
|
@@ -64,7 +64,7 @@ def cc_embed_binary(name:str, src:str, deps:list=[], visibility:list=None,
|
|
])
|
|
tools['asm'] = [CONFIG.ASM_TOOL]
|
|
else:
|
|
- cmd = '$TOOLS_LD -r --format binary -z noexecstack -m elf_$XARCH %s -o "${OUTS/.a/.o}" $SRC && $TOOLS_ARCAT ar --srcs "${OUTS/.a/.o}" && $TOOLS_AR s "$OUTS"' % CONFIG.DEFAULT_LDFLAGS
|
|
+ cmd = '$TOOLS_LD -r --format binary -z noexecstack %s -o "${OUTS/.a/.o}" $SRC && $TOOLS_ARCAT ar --srcs "${OUTS/.a/.o}" && $TOOLS_AR s "$OUTS"' % CONFIG.DEFAULT_LDFLAGS
|
|
tools['ld'] = [CONFIG.LD_TOOL]
|
|
|
|
lib_rule = build_rule(
|