]> git.pld-linux.org Git - packages/fann.git/blob - fann-python.patch
- added %{rpmcflags} to the build
[packages/fann.git] / fann-python.patch
1 --- fann-1.1.0-old/python/Makefile      2004-06-06 00:33:09.817753008 +0200
2 +++ fann-1.1.0/python/Makefile  2004-06-06 00:32:31.565568224 +0200
3 @@ -6,10 +6,10 @@
4  all: $(TARGETS)
5  
6  _%.so: %_wrap.o
7 -       gcc -shared $< -lfann -o $@ 
8 +       gcc -shared ${CFLAGS} $< -L../src/.libs/ -lfann -o $@ 
9  
10  %.o: %.c 
11 -       gcc -c -fpic $< -I/usr/include/python2.3/
12 +       gcc ${CFLAGS} -c -fpic $< -I/usr/include/python2.3/
13  
14  %_wrap.c: %.i 
15         swig -python $<
This page took 0.198701 seconds and 3 git commands to generate.