From: Antonin Descampe Date: Sat, 11 Dec 2010 23:23:02 +0000 (+0000) Subject: fixed flags when building jp3d with MinGW X-Git-Tag: version.1.4~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1dd92890d7e25b843abd80c047c4fd4955b40b2c;p=openjpeg fixed flags when building jp3d with MinGW --- diff --git a/CHANGES b/CHANGES index 919ff664..941e1d88 100644 --- a/CHANGES +++ b/CHANGES @@ -5,6 +5,9 @@ What's New for OpenJPEG ! : changed + : added +December 11, 2010 +* [antonin] fixed flags when building jp3d with MinGW + December 10, 2010 ! [szukw000] changed build choice in configure.ac/Makefile.am/Makefile.nix: shared xor static diff --git a/jp3d/libjp3dvm/CMakeLists.txt b/jp3d/libjp3dvm/CMakeLists.txt index f27ca1d4..23482483 100644 --- a/jp3d/libjp3dvm/CMakeLists.txt +++ b/jp3d/libjp3dvm/CMakeLists.txt @@ -1,5 +1,7 @@ IF(UNIX OR CYGWIN) ADD_DEFINITIONS(-O3) +ELSEIF(MINGW) + ADD_DEFINITIONS(-Os) ELSEIF(WIN32) ADD_DEFINITIONS(/Os) ENDIF(UNIX OR CYGWIN)