204-opt_flags.patch 1.1 KB

12345678910111213141516171819202122232425262728
  1. Index: ppp-2.4.3/pppd/plugins/radius/Makefile.linux
  2. ===================================================================
  3. --- ppp-2.4.3.orig/pppd/plugins/radius/Makefile.linux 2007-06-04 13:22:12.463960472 +0200
  4. +++ ppp-2.4.3/pppd/plugins/radius/Makefile.linux 2007-06-04 13:22:12.705923688 +0200
  5. @@ -12,7 +12,8 @@
  6. INSTALL = install
  7. PLUGIN=radius.so radattr.so radrealms.so
  8. -CFLAGS=-I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON
  9. +COPTS = -O2
  10. +CFLAGS=-I. -I../.. -I../../../include $(COPTS) -fPIC -DRC_LOG_FACILITY=LOG_DAEMON
  11. # Uncomment the next line to include support for Microsoft's
  12. # MS-CHAP authentication protocol.
  13. Index: ppp-2.4.3/pppdump/Makefile.linux
  14. ===================================================================
  15. --- ppp-2.4.3.orig/pppdump/Makefile.linux 2007-06-04 13:22:12.468959712 +0200
  16. +++ ppp-2.4.3/pppdump/Makefile.linux 2007-06-04 13:22:12.705923688 +0200
  17. @@ -2,7 +2,8 @@
  18. BINDIR = $(DESTDIR)/sbin
  19. MANDIR = $(DESTDIR)/share/man/man8
  20. -CFLAGS= -O -I../include/net
  21. +COPTS = -O
  22. +CFLAGS= $(COPTS) -I../include/net
  23. OBJS = pppdump.o bsd-comp.o deflate.o zlib.o
  24. INSTALL= install