diff options
author | Ankit <ankitm> | 2020-09-15 23:32:45 +0300 |
---|---|---|
committer | Ankit Meel <ankitjmeel@gmail.com> | 2020-09-15 23:35:51 +0300 |
commit | 84032fd1108b29d270e51d890f0303f78b6962c2 (patch) | |
tree | 28ff08f33996839c49ad878401c34e0799450239 /CMakeLists.txt | |
parent | 8aab26b3b3761108bb21b872738f8d324c2f860f (diff) |
GMP/macOS: silence "PIE disabled" linker warning.
The change builds GMP with `--with-pic` flag on non-arm architecture.
The warning:
ld: warning: PIE disabled. Absolute addressing
(perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in
___gmpn_divexact_1 from lib/darwin/gmp/lib/libgmp.a(dive_1.o). To fix
this warning, don't compile with -mdynamic-no-pic or link with
-Wl,-no_pie
Reviewed By: sebbas
Differential Revision: https://developer.blender.org/D8823
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions