- added asm fix to morearchs patch
- added -Wno-missing-braces to avoid massive warning messages
void double_precision_asm() {
void double_precision_asm() {
+- asm("push %eax \n fnclex \n fstcw (%esp) \n movw (%esp), %eax \n "
+- "and $0x0000fcff, %eax \n or $0x000002ff, %eax \n mov %eax, (%esp) \n "
- asm("push %eax \n fnclex \n fstcw (%esp) \n movw (%esp), %eax \n "
- "and $0x0000fcff, %eax \n or $0x000002ff, %eax \n mov %eax, (%esp) \n "
++ asm("push %eax \n fnclex \n fstcw (%esp) \n movl (%esp), %eax \n "
++ "and $0x0000fcff, %eax \n or $0x000002ff, %eax \n movl %eax, (%esp) \n "
"fldcw (%esp) \n pop %eax");
+#endif
}
"fldcw (%esp) \n pop %eax");
+#endif
}
%build
%{__make} -j1 -f makefile.unix \
%build
%{__make} -j1 -f makefile.unix \
- CNODEBUG="%{rpmcflags} -fPIC %{!?debug:-fomit-frame-pointer} \
+ CNODEBUG="%{rpmcflags} -fPIC -Wno-missing-braces %{!?debug:-fomit-frame-pointer} \
%{!?debug:-funroll-loops -fexpensive-optimizations -ffast-math}" \
%ifnarch %{ix86}
FX_GLIDE_CTRISETUP=1
%{!?debug:-funroll-loops -fexpensive-optimizations -ffast-math}" \
%ifnarch %{ix86}
FX_GLIDE_CTRISETUP=1