mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 20:01:16 +00:00
97e70a5935
GCC installed from FreeBSD ports doesn't support building PIE executables and fails with: /usr/local/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 against `_DYNAMIC' can not be used when making a shared object; recompile with -fPIC /usr/lib/crt1.o: error adding symbols: Bad value collect2: error: ld returned 1 exit status However, the configure check for '-fPIC -DPIC' doesn't catch that. In order to catch this case, add '-pie' to CFLAGS in m4/virt-compile-pie.m4 so it could detect lack of PIE support on configure time and don't fail the build. |
||
---|---|---|
.. | ||
virt-apparmor.m4 | ||
virt-attr.m4 | ||
virt-audit.m4 | ||
virt-avahi.m4 | ||
virt-blkid.m4 | ||
virt-capng.m4 | ||
virt-compile-pie.m4 | ||
virt-compile-warnings.m4 | ||
virt-curl.m4 | ||
virt-dbus.m4 | ||
virt-driver-bhyve.m4 | ||
virt-fuse.m4 | ||
virt-gluster.m4 | ||
virt-hal.m4 | ||
virt-lib.m4 | ||
virt-linker-no-indirect.m4 | ||
virt-linker-relro.m4 | ||
virt-netcf.m4 | ||
virt-numactl.m4 | ||
virt-openwsman.m4 | ||
virt-pciaccess.m4 | ||
virt-pkgconfig-back-compat.m4 | ||
virt-readline.m4 | ||
virt-result.m4 | ||
virt-sanlock.m4 | ||
virt-sasl.m4 | ||
virt-selinux.m4 | ||
virt-ssh2.m4 | ||
virt-systemd-daemon.m4 | ||
virt-udev.m4 | ||
virt-wireshark.m4 | ||
virt-yajl.m4 |