libgcrypt: allow optimization

Drop the --disable-optimization option, which makes the libgcrypt configure
remove buildroot's optimization setting passed in from CFLAGS.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Danomi Manchego 2015-05-30 21:44:14 -04:00 committed by Thomas Petazzoni
parent 057d88e701
commit 32e4bceaeb
1 changed files with 0 additions and 1 deletions

View File

@ -16,7 +16,6 @@ LIBGCRYPT_CONFIG_SCRIPTS = libgcrypt-config
LIBGCRYPT_CONF_ENV = \
ac_cv_sys_symbol_underscore=no
LIBGCRYPT_CONF_OPTS = \
--disable-optimization \
--with-gpg-error-prefix=$(STAGING_DIR)/usr
# Code doesn't build in thumb mode