SPECS: openttd.spec - fix build, force our compilers, proper flags, disable...

sparky sparky at pld-linux.org
Sun Nov 16 21:57:36 CET 2008


Author: sparky                       Date: Sun Nov 16 20:57:36 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix build, force our compilers, proper flags, disable strip

---- Files affected:
SPECS:
   openttd.spec (1.53 -> 1.54) 

---- Diffs:

================================================================
Index: SPECS/openttd.spec
diff -u SPECS/openttd.spec:1.53 SPECS/openttd.spec:1.54
--- SPECS/openttd.spec:1.53	Thu Aug  7 16:11:59 2008
+++ SPECS/openttd.spec	Sun Nov 16 21:57:30 2008
@@ -100,7 +100,13 @@
 ./configure \
 	CC="%{__cc}" \
 	CXX="%{__cxx}" \
-	CFLAGS="%{rpmcflags}" \
+	CFLAGS="%{rpmcxxflags}" \
+	LDFLAGS="%{rpmldflags}" \
+	--cc-host="%{__cc}" \
+	--cc-build="%{__cc}" \
+	--cxx-host="%{__cxx}" \
+	--cxx-build="%{__cxx}" \
+	--disable-strip \
 	--prefix-dir="%{_prefix}" \
 	--binary-dir=bin \
 	--data-dir=share/openttd \
@@ -127,7 +133,13 @@
 ./configure \
 	CC="%{__cc}" \
 	CXX="%{__cxx}" \
-	CFLAGS="%{rpmcflags} `sdl-config --cflags` -I/usr/include/freetype2" \
+	CFLAGS="%{rpmcxxflags} $(sdl-config --cflags) -I/usr/include/freetype2" \
+	LDFLAGS="%{rpmldflags}" \
+	--cc-host="%{__cc}" \
+	--cc-build="%{__cc}" \
+	--cxx-host="%{__cxx}" \
+	--cxx-build="%{__cxx}" \
+	--disable-strip \
 	--prefix-dir="%{_prefix}" \
 	--binary-dir=bin \
 	--data-dir=share/openttd \
@@ -193,6 +205,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.54  2008/11/16 20:57:30  sparky
+- fix build, force our compilers, proper flags, disable strip
+
 Revision 1.53  2008/08/07 14:11:59  adamg
 - updated to 0.6.2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/openttd.spec?r1=1.53&r2=1.54&f=u



More information about the pld-cvs-commit mailing list