Hack: add compile flag ftrapv and enable debuginfo
Signed-off-by: DCCooper <1866858@gmail.com>
This commit is contained in:
parent
1a48dbe94a
commit
fce1d7eb3e
@ -1 +1 @@
|
|||||||
0.9.4-7
|
0.9.4-8
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
b10f08c8ff5fc0d43ca42ad73de3538f24212a3f
|
3a1cd37f4440574b44b5c1c85f7e4172209237e8
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: isula-build
|
Name: isula-build
|
||||||
Version: 0.9.4
|
Version: 0.9.4
|
||||||
Release: 7
|
Release: 8
|
||||||
Summary: A tool to build container images
|
Summary: A tool to build container images
|
||||||
License: Mulan PSL V2
|
License: Mulan PSL V2
|
||||||
URL: https://gitee.com/openeuler/isula-build
|
URL: https://gitee.com/openeuler/isula-build
|
||||||
@ -24,6 +24,8 @@ Requires: systemd-units
|
|||||||
%description
|
%description
|
||||||
isula-build is a tool used for container images building.
|
isula-build is a tool used for container images building.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
cp %{SOURCE0} .
|
cp %{SOURCE0} .
|
||||||
cp %{SOURCE1} .
|
cp %{SOURCE1} .
|
||||||
@ -83,6 +85,12 @@ fi
|
|||||||
/usr/share/bash-completion/completions/isula-build
|
/usr/share/bash-completion/completions/isula-build
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fir Nov 27 2020 lixiang <lixiang172@huawei.com> - 0.9.4-8
|
||||||
|
- Add compile flag ftrapv and enable debuginfo
|
||||||
|
|
||||||
|
* Thu Nov 20 2020 xiadanni <xiadanni1@huawei.com> - 0.9.4-7
|
||||||
|
- Mask /proc/pin_memory
|
||||||
|
|
||||||
* Thu Nov 19 2020 lixiang <lixiang172@huawei.com> - 0.9.4-6
|
* Thu Nov 19 2020 lixiang <lixiang172@huawei.com> - 0.9.4-6
|
||||||
- Support build Dockerfile only have FROM command
|
- Support build Dockerfile only have FROM command
|
||||||
|
|
||||||
|
|||||||
26
patch/0070-hack-add-compile-flag-ftrapv.patch
Normal file
26
patch/0070-hack-add-compile-flag-ftrapv.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
From 9a212f5488b2e626eac23b2d0ab2dc6e288df5e7 Mon Sep 17 00:00:00 2001
|
||||||
|
From: lixiang <lixiang172@huawei.com>
|
||||||
|
Date: Fri, 27 Nov 2020 17:12:53 +0800
|
||||||
|
Subject: [PATCH] hack:add compile flag ftrapv
|
||||||
|
|
||||||
|
Signed-off-by: lixiang <lixiang172@huawei.com>
|
||||||
|
---
|
||||||
|
Makefile | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/Makefile b/Makefile
|
||||||
|
index 7e268678..f40941b4 100644
|
||||||
|
--- a/Makefile
|
||||||
|
+++ b/Makefile
|
||||||
|
@@ -22,7 +22,7 @@ BUILDTAGS := seccomp
|
||||||
|
BUILDFLAGS := -tags "$(BUILDTAGS)"
|
||||||
|
TMPDIR := /tmp/isula_build_tmpdir
|
||||||
|
BEFLAG := -tmpdir=${TMPDIR}
|
||||||
|
-SAFEBUILDFLAGS := -buildid=IdByIsula -buildmode=pie -extldflags=-static -extldflags=-zrelro -extldflags=-znow $(LDFLAGS) $(BEFLAG)
|
||||||
|
+SAFEBUILDFLAGS := -buildid=IdByIsula -buildmode=pie -extldflags=-ftrapv -extldflags=-static -extldflags=-zrelro -extldflags=-znow $(LDFLAGS) $(BEFLAG)
|
||||||
|
|
||||||
|
IMAGE_BUILDARGS := $(if $(http_proxy), --build-arg http_proxy=$(http_proxy))
|
||||||
|
IMAGE_BUILDARGS += $(if $(https_proxy), --build-arg https_proxy=$(https_proxy))
|
||||||
|
--
|
||||||
|
2.27.0
|
||||||
|
|
||||||
@ -7,3 +7,4 @@ patch/0066-bugfix-chown-config-root-path-before-daemon-started.patch
|
|||||||
patch/0067-bugfix-fix-unsuitable-filemode-for-isula-build-er.patch
|
patch/0067-bugfix-fix-unsuitable-filemode-for-isula-build-er.patch
|
||||||
patch/0068-isula-build-support-build-Dockerfile-only-have-FROM-.patch
|
patch/0068-isula-build-support-build-Dockerfile-only-have-FROM-.patch
|
||||||
patch/0069-isula-build-mask-proc-pin_memory.patch
|
patch/0069-isula-build-mask-proc-pin_memory.patch
|
||||||
|
patch/0070-hack-add-compile-flag-ftrapv.patch
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user