summaryrefslogtreecommitdiffstats
path: root/ltnasm.sh
Commit message (Collapse)AuthorAgeFilesLines
* Use a wrapper script for NASMOneric2021-09-151-0/+28
libtool assumes NASM accepts the same flags as the C-compiler, which is not actually the case. Previously we used -prefer-no-pic to avoid any additional flags being appended by libtool, which worked well for all tested platforms, but as it turns out it doesn't for NetBSD and OpenBSD. Using this wrapper-script also enables us to automatically define the PIC macro as needed, which became relevant when we started supporting 32-bit x86 PIC-assembly in 026d65e707637b0f90902bca48654871e33575f3.