openssl-native: also fix 0.9.7m and def-pref -1 0.9.8 since it doesn't build
authorKoen Kooi <koen@openembedded.org>
Wed, 14 May 2008 20:00:23 +0000 (20:00 +0000)
committerKoen Kooi <koen@openembedded.org>
Wed, 14 May 2008 20:00:23 +0000 (20:00 +0000)
packages/openssl/openssl-native_0.9.7m.bb
packages/openssl/openssl-native_0.9.8g.bb

index f48e123..f030ca1 100644 (file)
@@ -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 \
index 138a45a..e0fe33c 100644 (file)
@@ -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 \