mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
Force libflac to never be optimized in a more portable way (nw)
This commit is contained in:
parent
37ff34491c
commit
bb8d90c0fa
@ -327,7 +327,7 @@ else
|
||||
ARCHFLAGS = -DWORDS_BIGENDIAN=0
|
||||
endif
|
||||
|
||||
FLACOPTS=-DFLAC__NO_ASM -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H=0 -DFLAC__HAS_OGG=0 -Wno-unused-function $(ARCHFLAGS)
|
||||
FLACOPTS=-DFLAC__NO_ASM -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H=0 -DFLAC__HAS_OGG=0 -Wno-unused-function $(ARCHFLAGS) -O0
|
||||
|
||||
LIBFLACOBJS = \
|
||||
$(LIBOBJ)/libflac/bitmath.o \
|
||||
|
@ -60,7 +60,7 @@ void FLAC__lpc_window_data(const FLAC__int32 in[], const FLAC__real window[], FL
|
||||
out[i] = in[i] * window[i];
|
||||
}
|
||||
|
||||
#if defined(__GNUC__) && defined(__i386__)
|
||||
#if defined(__GNUC__) && defined(__i386__) && (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)
|
||||
__attribute__((optimize("O0")))
|
||||
#endif
|
||||
void FLAC__lpc_compute_autocorrelation(const FLAC__real data[], unsigned data_len, unsigned lag, FLAC__real autoc[])
|
||||
|
Loading…
Reference in New Issue
Block a user