Hello everyone,
Clang seems to only define __PIE__ when both –fPIC and –fPIE is used in the command line whereas gcc defines both __PIC__ and __PIE__. Is this intended or a bug in clang? Thanks.
Command line:
clang -fPIC -fPIE -dM -E - < /dev/null | grep __PI