mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-19 18:15:18 -07:00
--enable-opt now enables -save-temps; remove -flto
This commit is contained in:
parent
00914500e0
commit
90c49184fa
@ -139,8 +139,8 @@ AC_ARG_ENABLE(opt,
|
|||||||
[AS_HELP_STRING(--enable-opt,Optimize for the native CPU - The resulting library will be faster but not portable)],
|
[AS_HELP_STRING(--enable-opt,Optimize for the native CPU - The resulting library will be faster but not portable)],
|
||||||
[
|
[
|
||||||
AS_IF([test "x$enableval" = "xyes"], [
|
AS_IF([test "x$enableval" = "xyes"], [
|
||||||
CFLAGS="$CFLAGS -flto -march=native"
|
CFLAGS="$CFLAGS -march=native -save-temps"
|
||||||
LDFLAGS="$LDFLAGS -flto -march=native"])
|
LDFLAGS="$LDFLAGS -march=native"])
|
||||||
])
|
])
|
||||||
|
|
||||||
AC_SUBST([MAINT])
|
AC_SUBST([MAINT])
|
||||||
|
Loading…
Reference in New Issue
Block a user