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:
4195a36
)
config: detect if assembler supports --noexecstack and pass it down.
author
Andy Polyakov
<appro@openssl.org>
Wed, 13 Jul 2011 14:23:19 +0000
(14:23 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Wed, 13 Jul 2011 14:23:19 +0000
(14:23 +0000)
config
patch
|
blob
|
history
diff --git
a/config
b/config
index 63edfd6123c9181548b3a004e69cbda6b4df3ea5..e82868721e31d797df6c6de27e674ea1dddbfb52 100755
(executable)
--- a/
config
+++ b/
config
@@
-840,6
+840,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