From c158582c0fc7f4bd73980fe9adad446855f4d61b Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Fri, 10 Oct 2014 03:19:54 +0200 Subject: initial commit for Enea Linux 4.0-140929 Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea --- ...efile-use-g-from-environment-if-available.patch | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 recipes-test/udt/files/0001-Makefile-use-g-from-environment-if-available.patch (limited to 'recipes-test/udt/files/0001-Makefile-use-g-from-environment-if-available.patch') diff --git a/recipes-test/udt/files/0001-Makefile-use-g-from-environment-if-available.patch b/recipes-test/udt/files/0001-Makefile-use-g-from-environment-if-available.patch new file mode 100644 index 0000000..c7c1b02 --- /dev/null +++ b/recipes-test/udt/files/0001-Makefile-use-g-from-environment-if-available.patch @@ -0,0 +1,44 @@ +From 7a8fce8a763f4ce5d750916cc0aae0c47e6d0a1b Mon Sep 17 00:00:00 2001 +From: Josep Puigdemont +Date: Thu, 8 May 2014 14:49:21 +0200 +Subject: [PATCH 1/2] Makefile: use g++ from environment if available + +Signed-off-by: Josep Puigdemont + +Upstream-Status: Pending +--- + udt4/app/Makefile | 6 +++++- + udt4/src/Makefile | 6 +++++- + 2 files changed, 10 insertions(+), 2 deletions(-) + +diff --git a/udt4/app/Makefile b/udt4/app/Makefile +index 9d16c0f..0ee2562 100644 +--- a/udt4/app/Makefile ++++ b/udt4/app/Makefile +@@ -1,4 +1,8 @@ +-C++ = g++ ++ifndef CXX ++ C++ = g++ ++else ++ C++ = $(CXX) ++endif + + ifndef os + os = LINUX +diff --git a/udt4/src/Makefile b/udt4/src/Makefile +index bc1e049..1f64b8d 100644 +--- a/udt4/src/Makefile ++++ b/udt4/src/Makefile +@@ -1,4 +1,8 @@ +-C++ = g++ ++ifndef CXX ++ C++ = g++ ++else ++ C++ = $(CXX) ++endif + + ifndef os + os = LINUX +-- +1.9.0 + -- cgit v1.2.3-54-g00ecf