--enable-frame-pointers only works on x86-64
This commit is contained in:
parent
68671b2fe6
commit
cec11e3cd8
@ -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}' \
|
||||
|
Loading…
Reference in New Issue
Block a user