commit 4127e2cec561de9964e5571fa54c1901ddb85fd5
Author: Jan RÄ™korajski <[email protected]>
Date:   Tue Apr 11 20:51:16 2017 +0200

    - pass PLD CXXFLAGS and disable narrowing const errors
    - rel 9

 ogre.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/ogre.spec b/ogre.spec
index 0886d8b..82f2bf0 100644
--- a/ogre.spec
+++ b/ogre.spec
@@ -14,7 +14,7 @@ Summary:      Object-oriented Graphics Rendering Engine
 Summary(pl.UTF-8):     OGRE - zorientowany obiektowo silnik renderowania 
grafiki
 Name:          ogre
 Version:       1.8.1
-Release:       8
+Release:       9
 License:       MIT
 Group:         Applications
 Source0:       
http://downloads.sourceforge.net/ogre/%{name}_src_v%{fver}.tar.bz2
@@ -94,6 +94,7 @@ install -d build
 cd build
 # "None" is an alias for release, but uses plain CMAKE_CXX_FLAGS; "PLD" build 
type is not supported
 %cmake .. \
+       -DCMAKE_CXX_FLAGS="%{rpmcxxflags} -Wno-narrowing" \
        -DCMAKE_BUILD_TYPE=%{?debug:Debug}%{!?debug:None} \
        %{!?with_samples:-DOGRE_BUILD_SAMPLES=FALSE}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ogre.git/commitdiff/4127e2cec561de9964e5571fa54c1901ddb85fd5

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to