diff --git a/ocaml.spec b/ocaml.spec index 544a857..4efd357 100644 --- a/ocaml.spec +++ b/ocaml.spec @@ -230,8 +230,10 @@ sed -i '/ld_opts/s|\[\]|["%{build_ldflags}"]|' tools/ocamlmklib.ml %if %{native_compiler} --enable-native-toplevel \ %endif +%ifarch x86_64 %if 0%{?_include_frame_pointers} --enable-frame-pointers \ +%endif %endif OC_CFLAGS='%{build_cflags}' \ OC_LDFLAGS='%{build_ldflags}' \