From 2e4cd14fcf25408460f813432161dde3f8ab2fe8 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Wed, 14 May 2008 20:00:23 +0000 Subject: openssl-native: also fix 0.9.7m and def-pref -1 0.9.8 since it doesn't build --- packages/openssl/openssl-native_0.9.7m.bb | 8 ++++++++ packages/openssl/openssl-native_0.9.8g.bb | 6 ++++-- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'packages') 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 \ -- cgit v1.2.3