projects
/
platform
/
upstream
/
nettle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d7dd92
)
Add options to build position-independent executables
31/190631/1
accepted/tizen/5.0/unified/20181102.030903
accepted/tizen/unified/20181005.013100
submit/tizen/20181004.085350
submit/tizen_5.0/20181101.000007
author
Tomasz Swierczek
<t.swierczek@samsung.com>
Thu, 4 Oct 2018 08:03:54 +0000
(10:03 +0200)
committer
Tomasz Swierczek
<t.swierczek@samsung.com>
Thu, 4 Oct 2018 08:26:49 +0000
(10:26 +0200)
Change-Id: I8be9737c3ec3cf4a1954ecd71a3de30e72c46b56
packaging/nettle.spec
patch
|
blob
|
history
diff --git
a/packaging/nettle.spec
b/packaging/nettle.spec
index
7db9eab
..
fc3343f
100644
(file)
--- a/
packaging/nettle.spec
+++ b/
packaging/nettle.spec
@@
-61,7
+61,8
@@
operations using the nettle library.
cp %{SOURCE1001} .
%build
-export CFLAGS="$CFLAGS -std=c89"
+export CFLAGS="$CFLAGS -std=c89 -fPIE"
+export LDFLAGS="$LDFLAGS -pie"
%if "%{asan}" == "1"
%restore_fcommon
%endif