]> git.openpandora.org Git - openembedded.git/commitdiff
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 f48e123152b2c7c68950d87ca951a2c814cc5d2f..f030ca10dd80bb386a62f5ed37a7d4da34a39153 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 138a45aff826c2d8522856e5b7ba856e64ba6e45..e0fe33c9f91dede702bac6545d687bb2e5131596 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 \