File afio-2.5.dif of Package afio
--- Makefile
+++ Makefile 2004/01/30 12:17:45
@@ -28,7 +28,7 @@
c = -DHAVEMEMCMP
## Define DEFFMTCMD to being how to format the media you use the most
## This is the DEFault FoRMat CoManD.
-d = -DDEFFMTCMD='"fdformat /dev/fd0H1440"'
+d = -DDEFFMTCMD='"fdformat /dev/fd0u1440"'
## Define LONGZFILE if you want .Z to be tagged on the end of a 14 char
## file name (or longer for BSD) in the archive when the file is compressed
#e = -DLONGZFILE
@@ -71,7 +71,11 @@
MW=
#MW=-Wtraditional -Wcast-qual -Wcast-align -Wconversion -pedantic -Wlong-long -Wimplicit -Wuninitialized -W -Wshadow -Wsign-compare -Wstrict-prototypes -Wmissing-declarations
+ifeq ($(RPM_OPT_FLAGS),)
CFLAGS1 = -Wall -Wstrict-prototypes -s -O2 -fomit-frame-pointer ${LARGEFILEFLAGS} ${MW}
+else
+CFLAGS1 = ${RPM_OPT_FLAGS} ${LARGEFILEFLAGS}
+endif
CC=gcc