projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe8629e
)
config: detect if assembler supports --noexecstack and pass it down [from HEAD].
author
Andy Polyakov
<appro@openssl.org>
Fri, 15 Jul 2011 19:59:18 +0000
(19:59 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Fri, 15 Jul 2011 19:59:18 +0000
(19:59 +0000)
config
patch
|
blob
|
history
diff --git
a/config
b/config
index 965884a6277b4b50599ee3db3fad00fca08ea8e6..cf64ec563e61c5c0a2651c0745a06e3d15cd4138 100755
(executable)
--- a/
config
+++ b/
config
@@
-825,6
+825,10
@@
esac
# options="$options -DATALLA"
#fi
+($CC -Wa,--help -c -o /dev/null -x assembler /dev/null 2>&1 | \
+ grep \\--noexecstack) 2>&1 > /dev/null && \
+ options="$options -Wa,--noexecstack"
+
# gcc < 2.8 does not support -march=ultrasparc
if [ "$OUT" = solaris-sparcv9-gcc -a $GCCVER -lt 28 ]
then