SOURCES: anaconda-optflags.patch (NEW) - initial optflags patch

glen glen at pld-linux.org
Wed May 24 17:15:47 CEST 2006


Author: glen                         Date: Wed May 24 15:15:47 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- initial optflags patch

---- Files affected:
SOURCES:
   anaconda-optflags.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/anaconda-optflags.patch
diff -u /dev/null SOURCES/anaconda-optflags.patch:1.1
--- /dev/null	Wed May 24 17:15:47 2006
+++ SOURCES/anaconda-optflags.patch	Wed May 24 17:15:42 2006
@@ -0,0 +1,23 @@
+--- anaconda-11.0.5/Makefile~	2006-05-24 18:14:15.764976884 +0300
++++ anaconda-11.0.5/Makefile	2006-05-24 18:14:57.185905429 +0300
+@@ -24,15 +24,15 @@
+ 	PYTHONPATH="." python scripts/getlangnames.py > lang-names
+ 
+ mini-wm: mini-wm.c
+-	gcc -o mini-wm mini-wm.c `pkg-config gtk+-x11-2.0 --cflags --libs`$(CFLAGS)
++	$(CC) -o mini-wm mini-wm.c `pkg-config gtk+-x11-2.0 --cflags --libs`$(CFLAGS)
+ 
+ xmouse.so: xmouse.c
+-	gcc -Wall -o xmouse.o -fPIC -I/usr/X11R6/include -I$(PYTHONINCLUDE) -I $(PYTHONINCLUDE) -c xmouse.c $(CFLAGS)
+-	gcc -o xmouse.so -shared xmouse.o -L/usr/X11R6/$(LIBDIR) -lXxf86misc -lX11 -lXext
++	$(CC) -Wall -o xmouse.o -fPIC -I/usr/X11R6/include -I$(PYTHONINCLUDE) -I $(PYTHONINCLUDE) -c xmouse.c $(CFLAGS)
++	$(CC) -o xmouse.so -shared xmouse.o -L/usr/X11R6/$(LIBDIR) -lXxf86misc -lX11 -lXext
+ 
+ xutils.so: xutils.c
+-	gcc -ggdb -Wall -o xutils.o -fPIC -I/usr/X11R6/include -I$(PYTHONINCLUDE) -I $(PYTHONINCLUDE) -c xutils.c $(CFLAGS)
+-	gcc -o xutils.so -shared xutils.o -ggdb -L/usr/X11R6/$(LIBDIR) -lX11
++	$(CC) -ggdb -Wall -o xutils.o -fPIC -I/usr/X11R6/include -I$(PYTHONINCLUDE) -I $(PYTHONINCLUDE) -c xutils.c $(CFLAGS)
++	$(CC) -o xutils.so -shared xutils.o -ggdb -L/usr/X11R6/$(LIBDIR) -lX11
+ 
+ depend:
+ 	rm -f *.o *.so *.pyc
================================================================


More information about the pld-cvs-commit mailing list