mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-19 18:15:18 -07:00
change '-pie' to '-Wl,-pie' to squash clang errors
This commit is contained in:
parent
4cd1d03a28
commit
6ebf4030f8
@ -162,7 +162,7 @@ AS_IF([test "$enable_pie" != "no"],[
|
||||
AX_CHECK_LINK_FLAG([-fPIE],
|
||||
[AX_CHECK_LINK_FLAG([-pie],
|
||||
[CFLAGS="$CFLAGS -fPIE"
|
||||
LDFLAGS="$LDFLAGS -pie"])
|
||||
LDFLAGS="$LDFLAGS -Wl,-pie"])
|
||||
])
|
||||
])
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user