diff options
author | Tony Theodore <tonyt@logyst.com> | 2015-09-30 05:31:45 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2015-09-30 05:31:45 (GMT) |
commit | 3c96c291b2d369352ab3994f70dd8db6f7911ba7 (patch) | |
tree | 3df22696efa7fcba77a83bf67b2854440b132113 /src/openexr.mk | |
parent | 8e2d0e85c5dcdecbe858ffbca391dcc5ca0c3527 (diff) | |
download | mxe-3c96c291b2d369352ab3994f70dd8db6f7911ba7.zip mxe-3c96c291b2d369352ab3994f70dd8db6f7911ba7.tar.gz mxe-3c96c291b2d369352ab3994f70dd8db6f7911ba7.tar.bz2 |
ilmbase openexr: use BUILD_CXX portability variable
Diffstat (limited to 'src/openexr.mk')
-rw-r--r-- | src/openexr.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openexr.mk b/src/openexr.mk index 7c7319d..8fbaa56 100644 --- a/src/openexr.mk +++ b/src/openexr.mk @@ -43,14 +43,14 @@ define $(PKG)_BUILD PKG_CONFIG='$(PREFIX)/bin/$(TARGET)-pkg-config' \ CXXFLAGS="-g -O2 -fpermissive" # build the code generator manually - cd '$(1)/IlmImf' && g++ -O2 \ + cd '$(1)/IlmImf' && $(BUILD_CXX) -O2 \ -I'$(1)/ilmbase/include/OpenEXR' \ -L'$(1)/ilmbase/lib' \ b44ExpLogTable.cpp \ -lHalf \ -o b44ExpLogTable '$(1)/IlmImf/b44ExpLogTable' > '$(1)/IlmImf/b44ExpLogTable.h' - cd '$(1)/IlmImf' && g++ -O2 \ + cd '$(1)/IlmImf' && $(BUILD_CXX) -O2 \ -I'$(1)/config' -I. \ -I'$(1)/ilmbase/include/OpenEXR' \ -L'$(1)/ilmbase/lib' \ |