Skip to content

Commit

Permalink
mkproto.sh: use CROSS_ASLD instead of CROSS_PREFIX
Browse files Browse the repository at this point in the history
  • Loading branch information
stsp committed Dec 15, 2024
1 parent c5dd7da commit 81c45cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/libc/dj64/parsers/mkproto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ TF=/tmp/tagsxx
TL=/tmp/a.so
set -e

${CROSS_PREFIX}ld -melf_i386 -shared -Bsymbolic -z notext -o $TL --whole-archive "$1"
${CROSS_ASLD} -melf_i386 -shared -Bsymbolic -z notext -o $TL --whole-archive "$1"
shift
PRUNES="-name libm -prune -o -name machine -prune"
PRUNES="$PRUNES -o -name string.h -prune -o -name in.h -prune"
Expand Down
3 changes: 3 additions & 0 deletions src/makefile.def
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ CROSS_ASAR = $(CROSS_PREFIX)ar
CROSS_ASLD = $(CROSS_PREFIX)ld
CROSS_ASCPP = $(CPP) -x assembler-with-cpp $(1) | $(CROSS_AS) --32 -
CROSS_ASSTRIP = $(CROSS_PREFIX)strip

# for mkproto.sh
export CROSS_ASLD

0 comments on commit 81c45cf

Please sign in to comment.