Try to fix

This commit is contained in:
AlexeyAB
2018-04-12 14:12:38 +03:00
parent d3bdf7cfdf
commit 1c39aeca00
2 changed files with 4 additions and 4 deletions

View File

@ -47,9 +47,9 @@ COMMON=
CFLAGS=-Wall -Wfatal-errors -Wno-unused-result -Wno-unknown-pragmas
ifeq ($(DEBUG), 1)
OPTS=-O0 -g
OPTS= -O0 -g
else
OPTS=-ffp-contract=fast -mavx
CFLAGS+= -ffp-contract=fast -mavx
endif
CFLAGS+=$(OPTS)

View File

@ -111,7 +111,7 @@ void asm_cpuid(uint32_t* abcd, uint32_t eax)
}
#endif
inline int simd_detect_x86(unsigned int idFeature)
int simd_detect_x86(unsigned int idFeature)
{
uint32_t regs[4]; // EAX, EBX, ECX, EDX;
#ifdef _WIN32
@ -127,7 +127,7 @@ inline int simd_detect_x86(unsigned int idFeature)
return 1;
}
inline int is_fma_avx() {
int is_fma_avx() {
static int result = -1;
if (result == -1) {
result = simd_detect_x86(AVXFlag);