aboutsummaryrefslogtreecommitdiff
path: root/pkg/bindings
diff options
context:
space:
mode:
authorAditya R <arajan@redhat.com>2022-05-25 01:54:25 +0530
committerAditya R <arajan@redhat.com>2022-05-26 21:01:31 +0530
commit66a56ce05a577913a66c3d3f98c47cbe6cb4a3c0 (patch)
tree6f0be19d2b25a00bde9b4693693614291b5f254f /pkg/bindings
parent6124b51993b0a8010b7b276086cf4464e168932a (diff)
downloadpodman-66a56ce05a577913a66c3d3f98c47cbe6cb4a3c0.tar.gz
podman-66a56ce05a577913a66c3d3f98c47cbe6cb4a3c0.tar.bz2
podman-66a56ce05a577913a66c3d3f98c47cbe6cb4a3c0.zip
vendor: bump buildah to v1.26.1-0.20220524184833-5500333c2e06
Bump buildah to v1.26.1-0.20220524184833-5500333c2e06 Signed-off-by: Aditya R <arajan@redhat.com>
Diffstat (limited to 'pkg/bindings')
-rw-r--r--pkg/bindings/images/build.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkg/bindings/images/build.go b/pkg/bindings/images/build.go
index 51dcd2aa5..b4b7c36f6 100644
--- a/pkg/bindings/images/build.go
+++ b/pkg/bindings/images/build.go
@@ -65,6 +65,14 @@ func Build(ctx context.Context, containerFiles []string, options entities.BuildO
params.Set("annotations", l)
}
+ if cppflags := options.CPPFlags; len(cppflags) > 0 {
+ l, err := jsoniter.MarshalToString(cppflags)
+ if err != nil {
+ return nil, err
+ }
+ params.Set("cppflags", l)
+ }
+
if options.AllPlatforms {
params.Add("allplatforms", "1")
}