summaryrefslogtreecommitdiffstats
path: root/package/omniorb/0001-uclinux-is-also-linux.patch
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2014-11-20 08:49:29 +0200
committerPeter Korsgaard <peter@korsgaard.com>2014-11-20 16:09:52 +0100
commit6480559a5059a9d081b1845b12704611985cfd33 (patch)
treeed398b89e0b07da5a5be840547a15a0026e3dfa3 /package/omniorb/0001-uclinux-is-also-linux.patch
parent7b58f417c85ed63b1dc6772313d4922514a83706 (diff)
downloadbuildroot-6480559a5059a9d081b1845b12704611985cfd33.tar.gz
buildroot-6480559a5059a9d081b1845b12704611985cfd33.zip
omniorb: fix build for uclinux
Add a patch to make configure correctly identify uclinux. Also, disable build of shared libraries when PREFER_STATIC_LIB is set. Otherwise, build for Blackfin fails further down the road. Fixes: http://autobuild.buildroot.net/results/c60/c60d880b620c47f4aa03cdf2e1bb85a526242d54/ http://autobuild.buildroot.net/results/01f/01f4e8a27831d6817b329fa23fe0bbabd7fd01c9/ http://autobuild.buildroot.net/results/a96/a96a06b825c14dc9fdf738225db50bc1de8b901a/ And many others. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Acked-by: Matt Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/omniorb/0001-uclinux-is-also-linux.patch')
-rw-r--r--package/omniorb/0001-uclinux-is-also-linux.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/omniorb/0001-uclinux-is-also-linux.patch b/package/omniorb/0001-uclinux-is-also-linux.patch
new file mode 100644
index 0000000000..e003307266
--- /dev/null
+++ b/package/omniorb/0001-uclinux-is-also-linux.patch
@@ -0,0 +1,19 @@
+uclinux is also linux
+
+Patch status: sent upstream
+(http://www.omniorb-support.com/pipermail/omniorb-list/2014-November/031628.html)
+
+Signed-off-by: Baruch Siach <baruch@tkos.co.il>
+---
+
+diff -Nuar omniORB-4.1.6-orig/configure.ac omniORB-4.1.6/configure.ac
+--- omniORB-4.1.6-orig/configure.ac 2011-06-25 00:37:28.000000000 +0300
++++ omniORB-4.1.6/configure.ac 2014-11-20 07:05:25.072634260 +0200
+@@ -183,6 +183,7 @@
+
+ case "$host" in
+ *-*-linux-*) plat_name="Linux"; plat_def="__linux__"; os_v="2";;
++ *-*-uclinux-*) plat_name="Linux"; plat_def="__linux__"; os_v="2";;
+ *-*-cygwin*) plat_name="Cygwin"; plat_def="__cygwin__"; os_v="1";;
+ *-*-solaris*) plat_name="SunOS"; plat_def="__sunos__"; os_v="5";;
+ *-*-osf3*) plat_name="OSF1"; plat_def="__osf1__"; os_v="3";;
OpenPOWER on IntegriCloud