diff options
author | Chris Wilson <chris+github@qwirx.com> | 2015-04-06 13:51:20 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2015-04-06 13:51:20 +0000 |
commit | dd0a74d3322aa99b57630c8f217662bd440fde67 (patch) | |
tree | 587471bee4a0bb6c77202e3820169898805c774d /qdbm | |
parent | 255ecd111f07ef793b225b8923af0b4b4b3c3a20 (diff) |
Show compiler version for clang compile flags debugging
Diffstat (limited to 'qdbm')
-rw-r--r-- | qdbm/configure.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qdbm/configure.in b/qdbm/configure.in index 90cc6ebf..695e151c 100644 --- a/qdbm/configure.in +++ b/qdbm/configure.in @@ -179,6 +179,8 @@ then MYOPTS="-minline-all-stringops" fi +echo "Compiler version:" `$CC -v` + if $CC -v 2>&1 | egrep -iq ' clang '; then MYOPTS="-O1 -fno-omit-frame-pointer" elif uname | egrep -iq 'SunOS' || \ |