git.samba.org
/
third_party
/
zlib
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da32fd2
)
Recognize clang as gcc.
author
Mark Adler
<madler@alumni.caltech.edu>
Thu, 15 Mar 2012 06:14:13 +0000
(23:14 -0700)
committer
Mark Adler
<madler@alumni.caltech.edu>
Thu, 15 Mar 2012 06:14:13 +0000
(23:14 -0700)
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index 6b7224b42c1bc5c00c158e6e9514388d2983a3fa..439a0326d58d8e37b92d7adf05c946d1dfa2f338 100755
(executable)
--- a/
configure
+++ b/
configure
@@
-161,6
+161,7
@@
cflags=${CFLAGS-"-O3"}
# to force the asm version use: CFLAGS="-O3 -DASMV" ./configure
case "$cc" in
*gcc*) gcc=1 ;;
+ *clang*) gcc=1 ;;
esac
case `$cc -v 2>&1` in
*gcc*) gcc=1 ;;