diff --git a/stripcore.sh b/stripcore.sh index 3808722529..e711ea6409 100755 --- a/stripcore.sh +++ b/stripcore.sh @@ -11,7 +11,7 @@ if [ -z "$target" ]; then exit 1 fi -for sym in cbrtf ceilf copysignf fabsf fdimf floorf fmaxf fminf fmofd rintf roundf sqrtf truncf \ +for sym in cbrtf ceilf copysignf fabsf fdimf floorf fmaf fmaxf fminf fmodf rintf roundf sqrtf truncf \ cbrt ceil copysign fabs fdim floor fmax fmin fmod rint round sqrt trunc; do \ - objcopy --globalize-symbol=$sym --strip-symbol=$sym "$target"; \ + "$OBJCOPY" --globalize-symbol=$sym --strip-symbol=$sym "$target"; \ done