fixed flags when building jp3d with MinGW

This commit is contained in:
Antonin Descampe 2010-12-11 23:23:02 +00:00
parent 436d2f4bb9
commit 1dd92890d7
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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)