Silence dozens of useless warnings from nm
on macOS
This commit is contained in:
parent
337189598a
commit
be81495c16
@ -433,12 +433,6 @@ AS_CASE(["$build_os"],
|
|||||||
])
|
])
|
||||||
rm -fr conftest*
|
rm -fr conftest*
|
||||||
])
|
])
|
||||||
AS_CASE(["$build_os"],
|
|
||||||
[darwin*], [
|
|
||||||
AC_SUBST(X_WRAPPER_AR, "`cd -P "${tooldir}" && pwd`/darwin-ar $AR")
|
|
||||||
], [
|
|
||||||
AC_SUBST(X_WRAPPER_AR, "$AR")
|
|
||||||
])
|
|
||||||
AS_CASE(["$target_os"],
|
AS_CASE(["$target_os"],
|
||||||
[wasi*], [
|
[wasi*], [
|
||||||
# Clang linker automatically uses wasm-opt with -O if it found.
|
# Clang linker automatically uses wasm-opt with -O if it found.
|
||||||
|
@ -231,7 +231,7 @@ RMALL = @RMALL@
|
|||||||
LN_S = @LN_S@
|
LN_S = @LN_S@
|
||||||
TOUCH = touch
|
TOUCH = touch
|
||||||
NM = @NM@
|
NM = @NM@
|
||||||
AR = @X_WRAPPER_AR@
|
AR = @AR@
|
||||||
ARFLAGS = @ARFLAGS@$(empty)
|
ARFLAGS = @ARFLAGS@$(empty)
|
||||||
RANLIB = @RANLIB@
|
RANLIB = @RANLIB@
|
||||||
AS = @AS@
|
AS = @AS@
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
exec 2> >(exec grep -v \
|
exec 2> >(exec grep -v \
|
||||||
-e 'has no symbols$' \
|
-e ' no symbols$' \
|
||||||
>&2)
|
>&2)
|
||||||
exec "$@"
|
exec "$@"
|
||||||
|
@ -65,7 +65,7 @@ endif
|
|||||||
# we rely.
|
# we rely.
|
||||||
ifneq ($(findstring darwin,$(target_os)),)
|
ifneq ($(findstring darwin,$(target_os)),)
|
||||||
$(YJIT_LIB_SYMBOLS): $(YJIT_LIBS)
|
$(YJIT_LIB_SYMBOLS): $(YJIT_LIBS)
|
||||||
$(Q) $(NM) --no-llvm-bc --defined-only --extern-only $(YJIT_LIBS) | \
|
$(Q) $(tooldir)/darwin-ar $(NM) --no-llvm-bc --defined-only --extern-only $(YJIT_LIBS) | \
|
||||||
sed -n -e 's/.* //' -e '/^$(SYMBOL_PREFIX)rb_/p' \
|
sed -n -e 's/.* //' -e '/^$(SYMBOL_PREFIX)rb_/p' \
|
||||||
-e '/^$(SYMBOL_PREFIX)rust_eh_personality/p' \
|
-e '/^$(SYMBOL_PREFIX)rust_eh_personality/p' \
|
||||||
> $@
|
> $@
|
||||||
|
Loading…
x
Reference in New Issue
Block a user