summaryrefslogtreecommitdiffstats
path: root/package/omniorb/omniorb-0001-crosscompile-tool-export.patch
diff options
context:
space:
mode:
authorMatt Weber <mlweber1@rockwellcollins.com>2013-09-13 11:28:43 -0500
committerPeter Korsgaard <jacmet@sunsite.dk>2013-09-15 20:45:57 +0200
commitf88689801a2c27d58974ceb5927c8319005605d4 (patch)
tree564bb8288d60b0c043a6a3ce41b2280fcfb61762 /package/omniorb/omniorb-0001-crosscompile-tool-export.patch
parentcb8f7225e2da4e445640fea2099ea2ffa54a403f (diff)
downloadbuildroot-f88689801a2c27d58974ceb5927c8319005605d4.tar.gz
buildroot-f88689801a2c27d58974ceb5927c8319005605d4.zip
omniorb: new package
[Peter: fix C++ dependency and trailing spaces, drop ';' from fixup hook] Signed-off-by: Matt Weber <mlweber1@rockwellcollins.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/omniorb/omniorb-0001-crosscompile-tool-export.patch')
-rw-r--r--package/omniorb/omniorb-0001-crosscompile-tool-export.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/omniorb/omniorb-0001-crosscompile-tool-export.patch b/package/omniorb/omniorb-0001-crosscompile-tool-export.patch
new file mode 100644
index 0000000000..260d86f314
--- /dev/null
+++ b/package/omniorb/omniorb-0001-crosscompile-tool-export.patch
@@ -0,0 +1,30 @@
+beforeauto.mk.in: added support for overriding the configure time
+defined CC/CXX/RANLIB/CPP variables so that a couple pkg tools could be
+built which generate code during the cross compile build.
+
+http://www.omniorb-support.com/pipermail/omniorb-list/2013-September/031473.html
+
+Signed-off-by: Matt Weber <mlweber1@rockwellcollins.com>
+
+--- omniorb-4.1.6.orig/mk/beforeauto.mk.in 2013-09-12 12:49:55.668708148 -0500
++++ omniorb-4.1.6/mk/beforeauto.mk.in 2013-09-12 12:51:22.707928579 -0500
+@@ -672,15 +672,15 @@
+ #
+
+ AR = ar cq
+-CC = @CC@
+-CXX = @CXX@
+-RANLIB = @RANLIB@
++CC ?= @CC@
++CXX ?= @CXX@
++RANLIB ?= @RANLIB@
+ MKDIRHIER = $(BASE_OMNI_TREE)/bin/scripts/omkdirhier
+ INSTLIBFLAGS = -m 0644
+ INSTEXEFLAGS = -m 0755
+ CP = cp
+ MV = mv -f
+-CPP = @CPP@
++CPP ?= @CPP@
+ OMKDEPEND = $(TOOLBINDIR)/omkdepend
+ RMDIRHIER = $(RM) -rf
+
OpenPOWER on IntegriCloud