[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

CVS:myspell-deb/debian rules,1.6,1.7



Update of /home/halls/cvs/debian-openoffice/myspell-deb/debian
In directory gluck:/tmp/cvs-serv19989

Modified Files:
	rules 
Log Message:
compile with sparc-linux-g{cc,++} on sparc

Index: rules
===================================================================
RCS file: /home/halls/cvs/debian-openoffice/myspell-deb/debian/rules,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- rules	6 Jan 2004 10:27:04 -0000	1.6
+++ rules	6 Jan 2004 11:42:51 -0000	1.7
@@ -17,6 +17,14 @@
 	INSTALL_PROGRAM += -s
 endif
 
+ifneq (,$(findstring sparc,$(DEB_HOST_GNU_TYPE)))
+	CXX=sparc-linux-g++
+	CC=sparc-linux-gcc
+else
+	CXX=g++
+	CC=gcc
+endif
+
 version=3.1
 major=3
 
@@ -30,7 +38,7 @@
 build-stamp: configure-stamp 
 	dh_testdir
 
-	$(MAKE) CXXFLAGS="$(CFLAGS)" CFLAGS="$(CFLAGS)"
+	$(MAKE) CXXFLAGS="$(CFLAGS)" CFLAGS="$(CFLAGS)" CXX="$(CXX)" CC="$(CC)"
 	$(MAKE) check
 	
 	touch build-stamp



Reply to: