mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
Qt: Use -fno-strict-aliasing, wrap ffmpeg link with -Bstatic/dynamic
This commit is contained in:
parent
2835110256
commit
8b71c6283f
@ -21,7 +21,7 @@ INCLUDEPATH += $$P/ffmpeg/$${PLATFORM_NAME}/$${PLATFORM_ARCH}/include
|
||||
|
||||
!contains(CONFIG, staticlib) {
|
||||
QMAKE_LIBDIR += $$CONFIG_DIR $$P/ffmpeg/$${PLATFORM_NAME}/$${PLATFORM_ARCH}/lib/
|
||||
contains(DEFINES, USE_FFMPEG): LIBS += -lavformat -lavcodec -lavutil -lswresample -lswscale
|
||||
contains(DEFINES, USE_FFMPEG): LIBS += -Wl,-Bstatic -lavformat -lavcodec -lavutil -lswresample -lswscale -Wl,-Bdynamic
|
||||
equals(PLATFORM_NAME, "linux"):arm|android: LIBS += -lEGL
|
||||
}
|
||||
|
||||
@ -48,7 +48,7 @@ win32-msvc* {
|
||||
else: QMAKE_CXXFLAGS += -std=c++11
|
||||
QMAKE_CFLAGS_RELEASE ~= s/-O.*/
|
||||
QMAKE_CXXFLAGS_RELEASE ~= s/-O.*/
|
||||
QMAKE_ALLFLAGS_RELEASE += -O3 -ffast-math
|
||||
QMAKE_ALLFLAGS_RELEASE += -O3 -ffast-math -fno-strict-aliasing
|
||||
}
|
||||
|
||||
contains(QT_CONFIG, opengles.) {
|
||||
|
Loading…
Reference in New Issue
Block a user