summaryrefslogtreecommitdiff
path: root/recipes/openssl.recipe
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2014-11-27 17:29:58 +0100
committerSebastian Dröge <sebastian@centricular.com>2014-11-27 17:30:55 +0100
commit32a020a047ded8a3c579f141f0f73e1290a1a3ea (patch)
tree3b9461e264ff100ef3ee2c6c2fe0b2e9591bbdbb /recipes/openssl.recipe
parentebffba70e191a8aeb6d7cb4bfecb6a6205e3fb4c (diff)
openssl: Also set CFLAG(S) to ours
Diffstat (limited to 'recipes/openssl.recipe')
-rw-r--r--recipes/openssl.recipe3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes/openssl.recipe b/recipes/openssl.recipe
index bdb3b62d..0d7c06e2 100644
--- a/recipes/openssl.recipe
+++ b/recipes/openssl.recipe
@@ -70,7 +70,8 @@ class Recipe(recipe.Recipe):
self.make += ' CROSS_COMPILE=x86_64-w64-mingw32-'
else:
raise NotImplementedError
- self.make += ' LDFLAGS="$LDFLAGS"'
+ # CFLAG is no typo!
+ self.make += ' LDFLAGS+="$LDFLAGS" CFLAG+="$CFLAGS"'
self.make_install = 'make install_sw'
@modify_environment