Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | # Some distros (ubuntu 16.10, debian-testing) default to gcc configured with |
| 2 | # --enable-default-pie (see gcc -v). This breaks e.g. prelink-native on a pie |
| 3 | # default system if binutils-native was built on a system which is not pie default |
| 4 | # We therefore enable pie unconditionally for native recipes where static libs are |
| 5 | # used such as libiberty from binutils, for now, until our minimum distro set is |
| 6 | # all default pie. |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 7 | BUILD_CFLAGS:append:pn-binutils-native = " -pie -fpie" |