File xephem.cflags.patch of Package xephem

---
 GUI/xephem/Makefile |   10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

Index: xephem-3.7.4/GUI/xephem/Makefile
===================================================================
--- xephem-3.7.4.orig/GUI/xephem/Makefile	2009-01-05 21:55:59.000000000 +0100
+++ xephem-3.7.4/GUI/xephem/Makefile	2009-09-21 18:35:27.000000000 +0200
@@ -187,12 +187,10 @@
 	nroff -man $? > $@
 
 libs:
-	cd ../../libastro; make
-	cd ../../libip; make
-	cd ../../libjpegd; make
-	cd ../../liblilxml; make
-	cd ../../libpng; make
-	cd ../../libz; make
+	cd ../../libastro; make CFLAGS="$(CFLAGS)"
+	cd ../../libip; make CFLAGS="$(CFLAGS)"
+	cd ../../libjpegd; make CFLAGS="$(CFLAGS)"
+	cd ../../liblilxml; make CFLAGS="$(CFLAGS)"
 
 clean:
 	rm -fr *.o ../../lib*/*.[ao]
openSUSE Build Service is sponsored by