summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/openssl/openssl-native_0.9.7m.bb8
-rw-r--r--packages/openssl/openssl-native_0.9.8g.bb6
2 files changed, 12 insertions, 2 deletions
diff --git a/packages/openssl/openssl-native_0.9.7m.bb b/packages/openssl/openssl-native_0.9.7m.bb
index f48e123152..f030ca10dd 100644
--- a/packages/openssl/openssl-native_0.9.7m.bb
+++ b/packages/openssl/openssl-native_0.9.7m.bb
@@ -2,6 +2,14 @@ inherit pkgconfig native
require openssl.inc
+# This flag can contain target options (e.g -mfpu=neon for armv7-a systems)
+export FULL_OPTIMIZATION = " "
+export BUILD_OPTIMIZATION = " "
+
+export CFLAG = " ${@base_conditional('SITEINFO_ENDIANESS', 'le', '-DL_ENDIAN', '-DB_ENDIAN', d)} \
+ -DTERMIO "
+
+
PR = "r2"
SRC_URI += "file://debian.patch;patch=1 \
diff --git a/packages/openssl/openssl-native_0.9.8g.bb b/packages/openssl/openssl-native_0.9.8g.bb
index 138a45aff8..e0fe33c9f9 100644
--- a/packages/openssl/openssl-native_0.9.8g.bb
+++ b/packages/openssl/openssl-native_0.9.8g.bb
@@ -1,13 +1,15 @@
inherit pkgconfig native
+DEFAULT_PREFERENCE = "-1"
+
require openssl.inc
# This flag can contain target options (e.g -mfpu=neon for armv7-a systems)
export FULL_OPTIMIZATION = " "
export BUILD_OPTIMIZATION = " "
-export CFLAG = " "
-
+export CFLAG = " ${@base_conditional('SITEINFO_ENDIANESS', 'le', '-DL_ENDIAN', '-DB_ENDIAN', d)} \
+ -DTERMIO "
SRC_URI += "file://debian.patch;patch=1 \
file://configure-targets.patch;patch=1 \