Displaying 3 results from an estimated 3 matches for "opt_cflags".
Did you mean:
boot_cflags
2004 Aug 06
2
libspeex/SSE Intrinsics with GCC 3.3.x
On Fri, Apr 02, 2004 at 12:08:52AM -0500, Jean-Marc Valin wrote:
> I'm aware of the problem, but I don't know how to get autoconf to handle
> that properly. If someone knows how to make that work with autoconf even
> with non-gcc compilers and with default CFLAGS, I'm interested.
It's easy enough to test whether gcc will accept -msse and ifdef out the
intrinsics code
2004 Aug 06
1
libspeex/SSE Intrinsics with GCC 3.3.x
...results in CFLAGS="-g -O2 -O3 -msee" if it
succeeds. You can avoid the duplicate optimization levels by saying
something like:
if test $ac_cv_prog_gcc = yes; then
dnl remove any existing gcc -On flag
oldcflags=`echo $old_cflags | sed -e 's/-O.//'`
OPT_CFLAGS="$OPT_CFLAGS -O3"
fi
OPT_CFLAGS="$OPT_CFLAGS -msse"
instead.
So perhaps not so simple, but writing expert systems in sh never is.
-r
<p><p>
-------------- next part --------------
SW5kZXg6IGNvbmZpZ3VyZS5pbgo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT...
2016 May 02
0
Compiling for iOS & Simulator
...ds look like:
./configure --enable-float-approx --disable-shared --enable-static
--with-pic --disable-extra-programs --disable-doc
--host=i386-apple-darwin_ios \
LDFLAGS="$LDFLAGS -fPIE -miphoneos-version-min=${MIN_IOS_VERSION}
-L${BUILD_DIR}/opus/lib" \
CFLAGS="$CFLAGS -arch i386 ${OPT_CFLAGS} -fPIE
-miphoneos-version-min=${MIN_IOS_VERSION} -I${BUILD_DIR}/opus/include
-isysroot
${DEVELOPER}/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator${IOS_SDK_VERSION}.sdk"
Then:
make -j4
make install
OPUS does compile, but the project that I include the static library in
th...