polyml: explain nopie issue better.
This commit is contained in:
parent
30bed35222
commit
6c1e581d21
|
@ -5,7 +5,12 @@ revision=1
|
|||
build_style=gnu-configure
|
||||
configure_args="--with-system-libffi --enable-shared"
|
||||
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*) ;;
|
||||
*) configure_args+=" --disable-native-codegeneration" ;;
|
||||
esac
|
||||
|
|
Loading…
Reference in New Issue