mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
Ports: Add OBJDUMP
to hosted_defs
This allows the `perl5` port to be built with the Clang toolchain.
This commit is contained in:
parent
df249f269b
commit
c5b8903761
Notes:
sideshowbarker
2024-07-17 02:35:27 +09:00
Author: https://github.com/tarob0ba Commit: https://github.com/SerenityOS/serenity/commit/c5b8903761 Pull-request: https://github.com/SerenityOS/serenity/pull/20199 Reviewed-by: https://github.com/ADKaster ✅ Reviewed-by: https://github.com/EWouters ✅ Reviewed-by: https://github.com/gmta Reviewed-by: https://github.com/tcl3 ✅
1 changed files with 3 additions and 0 deletions
|
@ -14,6 +14,7 @@ if [ -z "${HOST_CC:=}" ]; then
|
|||
export HOST_PATH="${PATH:=}"
|
||||
export HOST_READELF="${READELF:=readelf}"
|
||||
export HOST_OBJCOPY="${OBJCOPY:=objcopy}"
|
||||
export HOST_OBJDUMP="${OBJDUMP:=objdump}"
|
||||
export HOST_STRIP="${STRIP:=strip}"
|
||||
export HOST_CXXFILT="${CXXFILT:=c++filt}"
|
||||
export HOST_PKG_CONFIG_DIR="${PKG_CONFIG_DIR:=}"
|
||||
|
@ -33,6 +34,7 @@ if [ "$SERENITY_TOOLCHAIN" = "Clang" ]; then
|
|||
export RANLIB="llvm-ranlib"
|
||||
export READELF="llvm-readelf"
|
||||
export OBJCOPY="llvm-objcopy"
|
||||
export OBJDUMP="llvm-objdump"
|
||||
export STRIP="llvm-strip"
|
||||
export CXXFILT="llvm-cxxfilt"
|
||||
else
|
||||
|
@ -45,6 +47,7 @@ else
|
|||
export RANLIB="${SERENITY_ARCH}-pc-serenity-ranlib"
|
||||
export READELF="${SERENITY_ARCH}-pc-serenity-readelf"
|
||||
export OBJCOPY="${SERENITY_ARCH}-pc-serenity-objcopy"
|
||||
export OBJDUMP="${SERENITY_ARCH}-pc-serenity-objdump"
|
||||
export STRIP="${SERENITY_ARCH}-pc-serenity-strip"
|
||||
export CXXFILT="${SERENITY_ARCH}-pc-serenity-c++filt"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue