Files
meta-openembedded/meta-oe/recipes-support/tbb/tbb/cross-compile.patch
Anuj Mittal 681555bf55 tbb: upgrade 2017 -> 2020.2
* Remove patches that are not needed anymore and fix the recipe to point
to new source location.

* Remove the compilation tweaks that don't seem to be required anymore.

* Include a patch to fix builds on musl.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-09 17:45:01 -07:00

36 lines
895 B
Diff

Author: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Upstream-Status: unsuitable
---
diff --git a/build/linux.clang.inc b/build/linux.clang.inc
index fe9b5c98..b0dcd68b 100644
--- a/build/linux.clang.inc
+++ b/build/linux.clang.inc
@@ -12,8 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-CPLUS ?= clang++
-CONLY ?= clang
+CPLUS ?= $(CXX)
+CONLY ?= $(CC)
COMPILE_ONLY = -c -MMD
PREPROC_ONLY = -E -x c++
INCLUDE_KEY = -I
diff --git a/build/linux.gcc.inc b/build/linux.gcc.inc
index d820c15d..62c76afd 100644
--- a/build/linux.gcc.inc
+++ b/build/linux.gcc.inc
@@ -12,8 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-CPLUS ?= g++
-CONLY ?= gcc
+CPLUS ?= $(CXX)
+CONLY ?= $(CC)
COMPILE_ONLY = -c -MMD
PREPROC_ONLY = -E -x c++
INCLUDE_KEY = -I