fix strip problem
This commit is contained in:
parent
ef65fed2de
commit
72291ee565
@ -1,8 +1,6 @@
|
|||||||
%global debug_package %{nil}
|
|
||||||
|
|
||||||
Name: lmbench
|
Name: lmbench
|
||||||
Version: 3
|
Version: 3
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: Tools for Performance Analysis
|
Summary: Tools for Performance Analysis
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: http://www.bitmover.com/lmbench/
|
URL: http://www.bitmover.com/lmbench/
|
||||||
@ -12,6 +10,7 @@ Patch0: lmbench3-fix-llseek-and-remove-bk-in-Makefile.patch
|
|||||||
Patch1: lmbench3-add-HOWTO-to-indicate-howto-use-this-package.patch
|
Patch1: lmbench3-add-HOWTO-to-indicate-howto-use-this-package.patch
|
||||||
Patch2: Rpc-code-moved-from-glibc-to-libtirpc.patch
|
Patch2: Rpc-code-moved-from-glibc-to-libtirpc.patch
|
||||||
Patch3: lmbench3-add-sp-security-compiler-option.patch
|
Patch3: lmbench3-add-sp-security-compiler-option.patch
|
||||||
|
Patch4: lmbench3-need-debug.patch
|
||||||
|
|
||||||
BuildRequires: gcc libtirpc-devel
|
BuildRequires: gcc libtirpc-devel
|
||||||
|
|
||||||
@ -24,6 +23,7 @@ A userspace utility for testing the memory subsystem for faults. It's portable a
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
|
%patch4 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%make_build
|
%make_build
|
||||||
@ -60,6 +60,9 @@ install -m 0644 results/Makefile %{buildroot}/opt/%{name}/results
|
|||||||
/opt/%{name}/*
|
/opt/%{name}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Stp 9 2021 Shaowei Cheng <chenshaowei3@huawei.com> - 3-4
|
||||||
|
- need debug
|
||||||
|
|
||||||
* Mon Jul 12 2021 stevending1st <stevending1st@163.com> - 3-3
|
* Mon Jul 12 2021 stevending1st <stevending1st@163.com> - 3-3
|
||||||
- Add SP security compiler option.
|
- Add SP security compiler option.
|
||||||
|
|
||||||
|
|||||||
22
lmbench3-need-debug.patch
Normal file
22
lmbench3-need-debug.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
From 8a9ba9910e58fb4d837eff51e18abd91dbc99488 Mon Sep 17 00:00:00 2001
|
||||||
|
From: si-gui <245140120@qq.com>
|
||||||
|
Date: Fri, 10 Sep 2021 23:42:26 +0800
|
||||||
|
Subject: [PATCH] need debug
|
||||||
|
|
||||||
|
---
|
||||||
|
scripts/build | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/scripts/build b/scripts/build
|
||||||
|
index 200d58e..7be068d 100755
|
||||||
|
--- a/scripts/build
|
||||||
|
+++ b/scripts/build
|
||||||
|
@@ -249,4 +249,4 @@ rm -f ${BASE}$$ ${BASE}$$.o ${BASE}$$.c
|
||||||
|
if [ ! -d ${BINDIR} ]; then mkdir -p ${BINDIR}; fi
|
||||||
|
|
||||||
|
# now go ahead and build everything!
|
||||||
|
-${MAKE} OS="${OS}" CC="${CC}" CFLAGS="${CFLAGS} -fstack-protector-strong" LDLIBS="${LDLIBS}" O="${BINDIR}" $*
|
||||||
|
+${MAKE} OS="${OS}" CC="${CC}" CFLAGS="${CFLAGS} -fstack-protector-strong -g" LDLIBS="${LDLIBS}" O="${BINDIR}" $*
|
||||||
|
--
|
||||||
|
2.30.0
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user