204-opt_flags.patch 1.1 KB

1234567891011121314151617181920212223242526
  1. diff -ruN ppp-2.4.3-orig/pppd/plugins/radius/Makefile.linux ppp-2.4.3-3/pppd/plugins/radius/Makefile.linux
  2. --- ppp-2.4.3-orig/pppd/plugins/radius/Makefile.linux 2004-11-14 08:02:31.000000000 +0100
  3. +++ ppp-2.4.3-3/pppd/plugins/radius/Makefile.linux 2004-12-05 17:43:17.000000000 +0100
  4. @@ -12,7 +12,8 @@
  5. INSTALL = install
  6. PLUGIN=radius.so radattr.so radrealms.so
  7. -CFLAGS=-I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON
  8. +COPTS = -O2
  9. +CFLAGS=-I. -I../.. -I../../../include $(COPTS) -fPIC -DRC_LOG_FACILITY=LOG_DAEMON
  10. # Uncomment the next line to include support for Microsoft's
  11. # MS-CHAP authentication protocol.
  12. diff -ruN ppp-2.4.3-orig/pppdump/Makefile.linux ppp-2.4.3-3/pppdump/Makefile.linux
  13. --- ppp-2.4.3-orig/pppdump/Makefile.linux 2004-10-31 02:36:52.000000000 +0200
  14. +++ ppp-2.4.3-3/pppdump/Makefile.linux 2004-12-05 17:50:34.000000000 +0100
  15. @@ -2,7 +2,8 @@
  16. BINDIR = $(DESTDIR)/sbin
  17. MANDIR = $(DESTDIR)/share/man/man8
  18. -CFLAGS= -O -I../include/net
  19. +COPTS = -O
  20. +CFLAGS= $(COPTS) -I../include/net
  21. OBJS = pppdump.o bsd-comp.o deflate.o zlib.o
  22. INSTALL= install