File f2c-optflags.patch of Package f2c

--- f2c-0.11/libf2c/make.elf.xx	2005-06-15 16:15:31.000000000 +0200
+++ f2c-0.11/libf2c/make.elf	2005-06-15 16:15:39.000000000 +0200
@@ -3,7 +3,7 @@
 #
 rm *.o
 make -f makefile.u CC="gcc" \
-    CFLAGS="-O2 -fPIC -fomit-frame-pointer -DNON_UNIX_STDIO -D_POSIX_SOURCE"
+    CFLAGS="$RPM_OPT_FLAGS -O2 -fPIC -fomit-frame-pointer -DNON_UNIX_STDIO -D_POSIX_SOURCE"
 gcc -o libf2c.so.0.11 -shared -Wl,-soname,libf2c.so.0 *.o
 ../src/f2c hello.f
 gcc -s -o hello hello.c libf2c.so.0.11 -lm
--- f2c-0.11/libf2c/makefile.u
+++ f2c-0.11/libf2c/makefile.u	2005/07/06 09:26:07
@@ -69,10 +69,10 @@
 ### If your system lacks ranlib, you don't need it; see README.
 
 f77vers.o: f77vers.c
-	$(CC) -c f77vers.c
+	$(CC) $(RPM_OPT_FLAGS) -c f77vers.c
 
 i77vers.o: i77vers.c
-	$(CC) -c i77vers.c
+	$(CC) $(RPM_OPT_FLAGS) -c i77vers.c
 
 # To get an "f2c.h" for use with "f2c -C++", first "make hadd"
 hadd: f2c.h0 f2ch.add