apply ASLR options #1 17/144217/1 accepted/tizen/base/20170901.224136 submit/tizen_base/20170816.081323
authorDongHun Kwak <dh0128.kwak@samsung.com>
Wed, 16 Aug 2017 02:34:38 +0000 (11:34 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Wed, 16 Aug 2017 02:35:05 +0000 (11:35 +0900)
[Model] All
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A

[Problem]
[Cause & Measure]
[Checking Method] N/A

[Team] Open Source Management and Setting Part
[Developer] dh0128.kwak
[Solution company] Samsung
[Change Type] N/A

Change-Id: Ifee163bd2efefa343a9dfd8b298dafba59f1e9d3
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
packaging/grep.spec

index 9ac78d61946fa48edc0378bd970aaf9365124ecb..392251e373c82d3d1d6fc6170c8cf3286db6a14f 100644 (file)
@@ -24,8 +24,13 @@ the matching lines.
 cp %{SOURCE1001} .
 
 %build
-%configure --disable-silent-rules --without-included-regex
-%{__make} %{?_smp_mflags}  CFLAGS=" -fPIE" LDFLAGS=" -pie"
+CFLAGS+=" -fPIE"
+LDFLAGS+=" -pie"
+
+%configure  --disable-silent-rules \
+                       --without-included-regex
+
+%{__make} %{?_smp_mflags}
 
 %check
 make check VERBOSE=1
@@ -39,7 +44,7 @@ make check VERBOSE=1
 %lang_package
 
 
-%files 
+%files
 %manifest %{name}.manifest
 %defattr(-,root,root)
 %license COPYING