X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-starlingx%2Fmeta-stx-integ%2Frecipes-devtools%2Fpython%2Ffiles%2Fpython-pynacl%2F0001-Enable-cross-compile.patch;fp=meta-starlingx%2Fmeta-stx-integ%2Frecipes-devtools%2Fpython%2Ffiles%2Fpython-pynacl%2F0001-Enable-cross-compile.patch;h=0000000000000000000000000000000000000000;hb=6fc6934434f70595536a387ece31bc30141cafb5;hp=893d678848227521a370f5b08fbab44a4a2964b3;hpb=eb1e26510491ba49de693ab3b0498edcb06be6c5;p=pti%2Frtp.git diff --git a/meta-starlingx/meta-stx-integ/recipes-devtools/python/files/python-pynacl/0001-Enable-cross-compile.patch b/meta-starlingx/meta-stx-integ/recipes-devtools/python/files/python-pynacl/0001-Enable-cross-compile.patch deleted file mode 100644 index 893d678..0000000 --- a/meta-starlingx/meta-stx-integ/recipes-devtools/python/files/python-pynacl/0001-Enable-cross-compile.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 97c9b5fdbffda65a7cacb2d0d7beac59c34f902c Mon Sep 17 00:00:00 2001 -From: babak sarashki -Date: Thu, 10 Oct 2019 11:30:18 -0700 -Subject: [PATCH] Enable cross compile - ---- - setup.py | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index 747dc62..1eeb7bf 100644 ---- a/setup.py -+++ b/setup.py -@@ -167,6 +167,9 @@ class build_clib(_build_clib): - configure, "--disable-shared", "--enable-static", - "--disable-debug", "--disable-dependency-tracking", - "--with-pic", "--prefix", os.path.abspath(self.build_clib), -+ os.environ.get('PYNACL_CROSS_TARGET'), -+ os.environ.get('PYNACL_CROSS_HOST'), -+ os.environ.get('PYNACL_CROSS_BUILD'), - ], - cwd=build_temp, - ) -@@ -176,7 +179,7 @@ class build_clib(_build_clib): - subprocess.check_call(["make"] + make_args, cwd=build_temp) - - # Check the build library -- subprocess.check_call(["make", "check"] + make_args, cwd=build_temp) -+ # subprocess.check_call(["make", "check"] + make_args, cwd=build_temp) - - # Install the built library - subprocess.check_call(["make", "install"] + make_args, cwd=build_temp) --- -2.17.1 -