aboutsummaryrefslogtreecommitdiff
path: root/src/common/include.am
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-01-30 13:08:04 -0500
committerNick Mathewson <nickm@torproject.org>2013-01-30 13:08:04 -0500
commit97d0872f59b4ac7a56632966ee041782c1152313 (patch)
tree5a3a1e5c4cc154c7896f47fa089f53648efef72c /src/common/include.am
parent73f85905aa9cfe6ee4f014f54d5713ab662c207a (diff)
downloadtor-97d0872f59b4ac7a56632966ee041782c1152313.tar.gz
tor-97d0872f59b4ac7a56632966ee041782c1152313.zip
Build donna32 with -fomit-frame-pointer
Diffstat (limited to 'src/common/include.am')
-rw-r--r--src/common/include.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/common/include.am b/src/common/include.am
index 808238dd1f..1eb923f977 100644
--- a/src/common/include.am
+++ b/src/common/include.am
@@ -14,9 +14,13 @@ else
libor_extra_source=
endif
+src_common_libcurve25519_donna_a_CFLAGS=
+
if BUILD_CURVE25519_DONNA
src_common_libcurve25519_donna_a_SOURCES=\
src/ext/curve25519_donna/curve25519-donna.c
+src_common_libcurve25519_donna_a_CFLAGS+=\
+ @F_OMIT_FRAME_POINTER@
noinst_LIBRARIES+=src/common/libcurve25519_donna.a
LIBDONNA=src/common/libcurve25519_donna.a
else
@@ -30,8 +34,6 @@ LIBDONNA=
endif
endif
-src_common_libcurve25519_donna_a_CFLAGS =
-
if CURVE25519_ENABLED
libcrypto_extra_source=src/common/crypto_curve25519.c
endif