]> git.pld-linux.org Git - packages/fann.git/blobdiff - fann-python.patch
- added %{rpmcflags} to the build
[packages/fann.git] / fann-python.patch
index b4c7785610ef2b70fb071273389367fe750dfa08..eafc158ef09d7781b988a8bd27414ff3fd5ba0a0 100644 (file)
@@ -1,11 +1,15 @@
---- fann-1.1.0/python/Makefile.old     2004-01-28 09:42:55.000000000 +0100
-+++ fann-1.1.0/python/Makefile 2004-06-05 15:56:46.242972328 +0200
-@@ -6,7 +6,7 @@
+--- fann-1.1.0-old/python/Makefile     2004-06-06 00:33:09.817753008 +0200
++++ fann-1.1.0/python/Makefile 2004-06-06 00:32:31.565568224 +0200
+@@ -6,10 +6,10 @@
  all: $(TARGETS)
  
  _%.so: %_wrap.o
 -      gcc -shared $< -lfann -o $@ 
-+      gcc -shared $< -L../src/.libs/ -lfann -o $@ 
++      gcc -shared ${CFLAGS} $< -L../src/.libs/ -lfann -o $@ 
  
  %.o: %.c 
-       gcc -c -fpic $< -I/usr/include/python2.3/
+-      gcc -c -fpic $< -I/usr/include/python2.3/
++      gcc ${CFLAGS} -c -fpic $< -I/usr/include/python2.3/
+ %_wrap.c: %.i 
+       swig -python $<
This page took 0.08459 seconds and 4 git commands to generate.