Use non-hacky hidden shim symbols

This commit is contained in:
BtbN
2021-12-24 14:05:08 +01:00
parent 1571708edc
commit a209c6b6c5
2 changed files with 3 additions and 4 deletions

View File

@ -13,5 +13,5 @@ cd "$TMPDIR"
set -x
python3 /opt/implib/implib-gen.py --target x86_64-linux-gnu --dlopen --lazy-load --verbose "$IN"
${FFBUILD_CROSS_PREFIX}gcc $CFLAGS $STAGE_CFLAGS -c *.tramp.S *.init.c
${FFBUILD_CROSS_PREFIX}gcc $CFLAGS $STAGE_CFLAGS -DIMPLIB_HIDDEN_SHIMS -c *.tramp.S *.init.c
${FFBUILD_CROSS_PREFIX}ar -rcs "$OUT" *.tramp.o *.init.o