diff options
author | Michel Zou | 2022-02-12 20:01:42 +0100 |
---|---|---|
committer | Michel Zou | 2022-02-12 20:01:42 +0100 |
commit | c2815548785e017bd575df01987ed8a841eb0a8e (patch) | |
tree | 769b7e9ac0c560f4e8330cfb09f6944828881ef2 | |
parent | dcc4fe36bf0d1d52ea95e27443a239416154aee1 (diff) | |
download | aur-mingw-w64-freeimage.tar.gz |
USE_MATH_DEFINES
-rw-r--r-- | PKGBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -24,7 +24,7 @@ prepare() { sed -i "s|IMPORTLIB = \$(TARGET).lib|IMPORTLIB = \$(TARGET).dll.a|g" Makefile.mingw sed -i 's/#include "..\\x86\\x86.h"/#include "..\/x86\/x86.h"/' Source/LibJXR/image/sys/strcodec.h rm Source/LibJXR/common/include/guiddef.h - sed -i "s,WIN32_CFLAGS =,WIN32_CFLAGS = -fpermissive -D__MINGW64_TOOLCHAIN__," Makefile.mingw + sed -i "s,WIN32_CFLAGS =,WIN32_CFLAGS = -fpermissive -D__MINGW64_TOOLCHAIN__ -D_USE_MATH_DEFINES," Makefile.mingw sed -i "58iWIN32_CXXFLAGS += -std=c++14" Makefile.mingw sed -i -e "s,#ifdef __GNUC__,#ifdef WHATEVER," -e "s,_MSC_VER,WINVER," Source/OpenEXR/IlmImf/ImfSystemSpecific.h } |