mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-09 13:32:55 +02:00
polyml: explain nopie issue better.
This commit is contained in:
parent
30bed35222
commit
6c1e581d21
1 changed files with 6 additions and 1 deletions
|
@ -5,7 +5,12 @@ revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-system-libffi --enable-shared"
|
configure_args="--with-system-libffi --enable-shared"
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
i686-musl|x86_64-musl) nopie=yes ;; # crash in do_relocs else
|
i686-musl|x86_64-musl)
|
||||||
|
# musl doesn't allow writing to .rodata and .text during
|
||||||
|
# relocation, but polyexport.o contains DT_TEXTREL
|
||||||
|
# since libpolyml/elfexport.cpp only creates absolute
|
||||||
|
# relocations. Drop PIE and do relocations at link time.
|
||||||
|
nopie=yes;;
|
||||||
i686*|x86_64*) ;;
|
i686*|x86_64*) ;;
|
||||||
*) configure_args+=" --disable-native-codegeneration" ;;
|
*) configure_args+=" --disable-native-codegeneration" ;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Add table
Reference in a new issue