Commit 36d14c1
committed
external_deps: disable -fpic when building nettle, we already use -fPIC
This avoids this error when linking the linux-arm64 engine:
libnettle.a(buffer-init.o): in function `nettle_buffer_init': (.text+0x8): relocation truncated to fit:
R_AARCH64_LD64_GOTPAGE_LO15 against symbol `nettle_realloc' defined in .text section in libnettle.a(realloc.o)
/usr/aarch64-linux-gnu/bin/ld: (.text+0x8): warning: too many GOT entries for -fpic, please recompile with -fPIC1 parent b15545b commit 36d14c1
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
373 | | - | |
| 373 | + | |
| 374 | + | |
374 | 375 | | |
375 | 376 | | |
376 | 377 | | |
| |||
0 commit comments