Displaying 2 results from an estimated 2 matches for "libspeex_la_cxxflag".
Did you mean:
libspeex_la_cxxflags
2004 Aug 06
3
Speex 1.1.4 is out
> Is it a problem if all the files are compiled with -march=pentium3
> ? The patch that we sent in already detects in the configure.in script
> which system you are on and sets a define correctly, i.e. _USE_SSE.
Well, if what you want is auto-detection, turning on -march=pentium3
means that the code will crash on anything lower than a pentium3. Not
really useful. Of course,
2004 Aug 06
0
Speex 1.1.4 is out
...FLAGS in the
Makefile.am script to set what you need
b. Do tricks with file extensions. CFLAGS applies to files that
have a .c ending. CXXFLAGS applies to files that have .cpp . If you place
all the SSE intrinics into .cpp files, then you can add in
libspeex\Makefile.am a line like: libspeex_la_CXXFLAGS = -march=pentium3.
Even better, you can use the configure.in magic from our patch. You define
the CXXFLAGS to add based upon the target architecture. (Note, you will
need to add AC_PROG_CXX into configure.in). That way you add both #ifdef
inside those files and you have runtime selection of th...