diff options
-rw-r--r-- | src/openexr.mk | 2 | ||||
-rw-r--r-- | src/openscenegraph.mk | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/openexr.mk b/src/openexr.mk index 8fbaa56..57a59a1 100644 --- a/src/openexr.mk +++ b/src/openexr.mk @@ -41,7 +41,7 @@ define $(PKG)_BUILD --disable-posix-sem \ --disable-ilmbasetest \ PKG_CONFIG='$(PREFIX)/bin/$(TARGET)-pkg-config' \ - CXXFLAGS="-g -O2 -fpermissive" + CXXFLAGS="-g -O2" # build the code generator manually cd '$(1)/IlmImf' && $(BUILD_CXX) -O2 \ -I'$(1)/ilmbase/include/OpenEXR' \ diff --git a/src/openscenegraph.mk b/src/openscenegraph.mk index 6c124f5..952f160 100644 --- a/src/openscenegraph.mk +++ b/src/openscenegraph.mk @@ -22,7 +22,7 @@ define $(PKG)_BUILD mkdir '$(1).build' cd '$(1).build' && cmake '$(1)' \ -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ - -DCMAKE_CXX_FLAGS='-D__STDC_CONSTANT_MACROS -fpermissive' \ + -DCMAKE_CXX_FLAGS='-D__STDC_CONSTANT_MACROS' \ -DCMAKE_HAVE_PTHREAD_H=OFF \ -DPKG_CONFIG_EXECUTABLE='$(PREFIX)/bin/$(TARGET)-pkg-config' \ -DDYNAMIC_OPENTHREADS=$(CMAKE_SHARED_BOOL) \ |