X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fopenocd%2F0002-Fix-jimtcl-auto-configuration-to-force-static-librar.patch;fp=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fopenocd%2F0002-Fix-jimtcl-auto-configuration-to-force-static-librar.patch;h=5ec0552dd41bb41167d90a495c8c3027bb5eb26d;hb=b0a0f15dfaa205161a7fcb20cf1b8cd4948c2ef3;hp=0000000000000000000000000000000000000000;hpb=c6ac3cd55ee2da956195eee393b0882105dfad4e;p=packages%2Ftrusty%2Fcirros-testvm.git diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/openocd/0002-Fix-jimtcl-auto-configuration-to-force-static-librar.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/openocd/0002-Fix-jimtcl-auto-configuration-to-force-static-librar.patch new file mode 100644 index 0000000..5ec0552 --- /dev/null +++ b/cirros-testvm/src-cirros/buildroot-2015.05/package/openocd/0002-Fix-jimtcl-auto-configuration-to-force-static-librar.patch @@ -0,0 +1,35 @@ +From 3bef159779c8fd39a070ec5c8191e18ba2efa79d Mon Sep 17 00:00:00 2001 +From: Claudio Laurita +Date: Sun, 30 Nov 2014 18:21:58 +0100 +Subject: [PATCH 2/2] Fix jimtcl auto configuration to force static library + only. jimtcl ignores a --disable-shared option if a previous --enable-shared + option was given. This breaks openocd compilation if shared was the preferred + option in buildroot project. + +Signed-off-by: Claudio Laurita +--- + jimtcl/auto.def | 8 ++------ + 1 file changed, 2 insertions(+), 6 deletions(-) + +diff --git a/jimtcl/auto.def b/jimtcl/auto.def +index ddb0c1e..929ade0 100644 +--- a/jimtcl/auto.def ++++ b/jimtcl/auto.def +@@ -181,12 +181,8 @@ if {[opt-bool references]} { + msg-result "Enabling references" + define JIM_REFERENCES + } +-if {[opt-bool shared with-jim-shared]} { +- msg-result "Building shared library" +-} else { +- msg-result "Building static library" +- define JIM_STATICLIB +-} ++msg-result "Building static library" ++define JIM_STATICLIB + define JIM_INSTALL [opt-bool install-jim] + + # Attributes of the extensions +-- +2.1.3 +