From 74d51c8c3e18a8b6738aff0c6f7ff706fd70eaa6 Mon Sep 17 00:00:00 2001 From: Adrian Dudau Date: Thu, 26 Jun 2014 13:57:02 +0200 Subject: initial commit for Enea Linux 4.0 Migrated from the internal git server on the daisy-enea branch Signed-off-by: Adrian Dudau --- .../files/virttest-passfd-compiler-fix.patch | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 recipes-test/virt-test/files/virttest-passfd-compiler-fix.patch (limited to 'recipes-test/virt-test/files/virttest-passfd-compiler-fix.patch') diff --git a/recipes-test/virt-test/files/virttest-passfd-compiler-fix.patch b/recipes-test/virt-test/files/virttest-passfd-compiler-fix.patch new file mode 100644 index 0000000..cdbb8ef --- /dev/null +++ b/recipes-test/virt-test/files/virttest-passfd-compiler-fix.patch @@ -0,0 +1,24 @@ +commit f97e66a1308b41fa70d662643de03d0e8a7c71cb +Author: Jonas Eriksson +Date: Tue Apr 1 10:53:31 2014 +0200 + + passfd_setup: Configure the compiler + + In order to pull cross-compilation information from the environment, the + compiler needs to be customized. + + Signed-off-by: Jonas Eriksson + Upstream-Status: Pending + +diff --git a/virttest/passfd_setup.py b/virttest/passfd_setup.py +index d6fe590..9dc7750 100644 +--- a/virttest/passfd_setup.py ++++ b/virttest/passfd_setup.py +@@ -26,6 +26,7 @@ def passfd_setup(output_dir=OUTPUT_DIR): + output_file = os.path.join(output_dir, SHARED_OBJECT) + + c = distutils.ccompiler.new_compiler() ++ distutils.sysconfig.customize_compiler(c) + objects = c.compile(SOURCES, include_dirs=[PYTHON_HEADERS], + output_dir=data_dir.get_tmp_dir(), + extra_postargs=['-fPIC']) -- cgit v1.2.3-54-g00ecf