diff options
author | Fabrice Le Fessant <Fabrice.Le_fessant@inria.fr> | 2013-06-11 11:58:44 +0000 |
---|---|---|
committer | Fabrice Le Fessant <Fabrice.Le_fessant@inria.fr> | 2013-06-11 11:58:44 +0000 |
commit | e99f2dde2955e9df429cccd38428443b8b93b429 (patch) | |
tree | a8fbc785d58cbe7374fb180f3fdbd46f4c2d4a94 | |
parent | db98eb647c4ae7ebdbb3b6c59f13bfefe754cd40 (diff) |
Add -fno-omit-frame-pointers to gcc when compiling with -with-frame-pointers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13765 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-rwxr-xr-x | configure | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1584,6 +1584,13 @@ if test "$with_frame_pointers" = "true"; then nativecccompopts="$nativecccompopts -g" nativecclinkopts="$nativecclinkopts -g" echo "#define WITH_FRAME_POINTERS" >> m.h + + case "$cc" in + gcc*) + bytecccompopts="$bytecccompopts -fno-omit-frame-pointer" + nativecccompopts="$nativecccompopts -fno-omit-frame-pointer";; + esac + fi |