mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 17:57:21 +09:00
change '-pie' to '-Wl,-pie' to squash clang errors
This commit is contained in:
+1
-1
@@ -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"])
|
||||
])
|
||||
])
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user