summaryrefslogtreecommitdiff
path: root/crypto/Makefile
diff options
context:
space:
mode:
authorStephan Mueller <smueller@chronox.de>2015-06-09 04:08:49 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2015-06-09 22:26:00 +0800
commitfbb145bc0a1c03b90a96cca99dc07c33aaad2318 (patch)
tree27e29447feac622abe0553ab12e695d94b0f48f6 /crypto/Makefile
parent70c3c8a96a85d333b3ff1f24df84c0e179261a8a (diff)
crypto: drbg - use pragmas for disabling optimization
Replace the global -O0 compiler flag from the Makefile with GCC pragmas to mark only the functions required to be compiled without optimizations. This patch also adds a comment describing the rationale for the functions chosen to be compiled without optimizations. Signed-off-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Makefile')
-rw-r--r--crypto/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/Makefile b/crypto/Makefile
index 83b3c4496ec7..c84203572477 100644
--- a/crypto/Makefile
+++ b/crypto/Makefile
@@ -97,7 +97,6 @@ obj-$(CONFIG_CRYPTO_842) += 842.o
obj-$(CONFIG_CRYPTO_RNG2) += rng.o
obj-$(CONFIG_CRYPTO_ANSI_CPRNG) += ansi_cprng.o
obj-$(CONFIG_CRYPTO_DRBG) += drbg.o
-CFLAGS_jitterentropy.o = -O0
obj-$(CONFIG_CRYPTO_JITTERENTROPY) += jitterentropy.o
obj-$(CONFIG_CRYPTO_TEST) += tcrypt.o
obj-$(CONFIG_CRYPTO_GHASH) += ghash-generic.o