diff options
Diffstat (limited to 'app-crypt/jitterentropy')
-rw-r--r-- | app-crypt/jitterentropy/jitterentropy-3.3.1.ebuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app-crypt/jitterentropy/jitterentropy-3.3.1.ebuild b/app-crypt/jitterentropy/jitterentropy-3.3.1.ebuild index c089421d22ee..4f867c12ca00 100644 --- a/app-crypt/jitterentropy/jitterentropy-3.3.1.ebuild +++ b/app-crypt/jitterentropy/jitterentropy-3.3.1.ebuild @@ -34,6 +34,9 @@ src_compile() { # This allows those default flags to be overwritten by # user-defined CFLAGS. Restore some of the defaults. append-cflags '-fwrapv' '-fvisibility=hidden' '-fPIE' + # Optimizations are not allowed by upstream, which already + # overrides CFLAGS in Makefile. We need to handle CPPFLAGS here. + append-cppflags '-O0' emake AR="$(tc-getAR)" CC="$(tc-getCC)" } |