summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-05-14 20:00:23 +0000
committerKoen Kooi <koen@openembedded.org>2008-05-14 20:00:23 +0000
commit2e4cd14fcf25408460f813432161dde3f8ab2fe8 (patch)
tree09c9f7280dc4746379ab8ea04efcfc697603c87c /packages
parente8bf8be4390a15c6bc5d345b1ca767c25c061ef3 (diff)
openssl-native: also fix 0.9.7m and def-pref -1 0.9.8 since it doesn't build
Diffstat (limited to 'packages')
-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 \