2004-09-09 06:24:00 +00:00
|
|
|
--- iputils/Makefile.rh7 2002-09-20 20:23:55.000000000 +0200
|
|
|
|
+++ iputils/Makefile 2004-05-12 15:08:25.638310270 +0200
|
2010-11-08 09:03:47 +00:00
|
|
|
@@ -12,9 +12,9 @@ ADDLIB=
|
|
|
|
|
2004-09-09 06:24:00 +00:00
|
|
|
CC=gcc
|
|
|
|
# What a pity, all new gccs are buggy and -Werror does not work. Sigh.
|
2010-11-08 09:03:47 +00:00
|
|
|
-#CCOPT=-D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -Werror
|
2004-09-09 06:24:00 +00:00
|
|
|
-CCOPT=-D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g
|
2007-03-15 17:40:40 +00:00
|
|
|
-CFLAGS=$(CCOPT) $(GLIBCFIX) $(DEFINES)
|
2010-11-08 09:03:47 +00:00
|
|
|
+CCOPT=-Wstrict-prototypes -fno-strict-aliasing -Werror
|
|
|
|
+DEFINES += -D_GNU_SOURCE
|
|
|
|
+CFLAGS += $(RPM_OPT_FLAGS) $(CCOPT) $(GLIBCFIX) $(DEFINES)
|
2004-09-09 06:24:00 +00:00
|
|
|
|
|
|
|
IPV4_TARGETS=tracepath ping clockdiff rdisc arping tftpd rarpd
|
|
|
|
IPV6_TARGETS=tracepath6 traceroute6 ping6
|