Skip to content
Permalink
Browse files

3rdparty: for CELT and Opus, define APPROX_FLOAT if -ffast-math is in…

… CFLAGS.
  • Loading branch information...
mkrautz committed Nov 28, 2015
1 parent 551f109 commit e8e7ed322128d6aaef14c5fc977d8c5fa6c5a1bc
@@ -47,6 +47,10 @@ win32 {
}

unix {
contains(QMAKE_CFLAGS, -ffast-math) {
DEFINES += FLOAT_APPROX
}

INCLUDEPATH += ../$$BUILDDIR
}

@@ -54,6 +54,10 @@ win32 {
}

unix {
contains(QMAKE_CFLAGS, -ffast-math) {
DEFINES += FLOAT_APPROX
}

INCLUDEPATH += ../$$BUILDDIR
}

@@ -57,6 +57,11 @@ unix {
# out for now.
error(Mumble cannot be built in SBCELT mode with Opus 1.1 - aborting build.)
}

contains(QMAKE_CFLAGS, -ffast-math) {
DEFINES += FLOAT_APPROX
}

INCLUDEPATH += ../$$BUILDDIR
}

0 comments on commit e8e7ed3

Please sign in to comment.
You can’t perform that action at this time.