forked from wolfSSL/wolfssl
Intel x86_64, gcc, icc: align loops to 64 byte boundary
Improved security with compile flag.
This commit is contained in:
@@ -180,7 +180,7 @@ if test "$host_cpu" = "x86_64"
|
||||
then
|
||||
if test "$CC" = "gcc" || test "$CC" = "icc"
|
||||
then
|
||||
EXTRA_OPTS_CFLAGS="$EXTRA_OPTS_CFLAGS -Wa,-mbranches-within-32B-boundaries"
|
||||
EXTRA_OPTS_CFLAGS="$EXTRA_OPTS_CFLAGS -Wa,-mbranches-within-32B-boundaries -falign-loops=64"
|
||||
fi
|
||||
fi
|
||||
OPTIMIZE_CFLAGS="$OPTIMIZE_CFLAGS $EXTRA_OPTS_CFLAGS"
|
||||
|
Reference in New Issue
Block a user