projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
669ba89
)
packaging: Apply ASLR feature
39/224039/1
accepted/tizen/unified/20200206.062622
submit/tizen/20200206.050846
author
Junghoon Kim
<jhoon20.kim@samsung.com>
Thu, 6 Feb 2020 01:55:40 +0000
(10:55 +0900)
committer
Junghoon Kim
<jhoon20.kim@samsung.com>
Thu, 6 Feb 2020 01:55:40 +0000
(10:55 +0900)
Add PIE flags to apply the ASLR feature.
Change-Id: Id4271119fcf49bac01ab03597111affc39b12282
Signed-off-by: Junghoon Kim <jhoon20.kim@samsung.com>
packaging/btrfs-progs.spec
patch
|
blob
|
history
diff --git
a/packaging/btrfs-progs.spec
b/packaging/btrfs-progs.spec
index
1eafff9
..
021089f
100644
(file)
--- a/
packaging/btrfs-progs.spec
+++ b/
packaging/btrfs-progs.spec
@@
-24,6
+24,8
@@
Utilities needed to create and maintain btrfs file systems under Linux.
cp %{SOURCE1001} .
%build
+export CFLAGS="${CFLAGS} -fPIE"
+export LDFLAGS="${LDFLAGS} -pie"
%autogen
%configure --disable-documentation --disable-python --disable-zstd
make %{?_smp_mflags}