Author: dharanendiran <dharanendiran@timesys.com>
Date: Mon, 23 Nov 2020 05:54:21 +0530

Updated based on 2.4.7 version

---
 pppd/Makefile.linux | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/pppd/Makefile.linux b/pppd/Makefile.linux
index e3af04b..8f2a7b2 100644
--- a/pppd/Makefile.linux
+++ b/pppd/Makefile.linux
@@ -32,8 +32,8 @@ endif
 
 # CC = gcc
 #
-COPTS = -O2 -pipe -Wall -g
-LIBS =
+#COPTS = -O2 -pipe -Wall -g
+LIBS ?=
 
 # Uncomment the next line to include support for Microsoft's
 # MS-CHAP authentication protocol.  Also, edit plugins/radius/Makefile.linux.
@@ -87,7 +87,7 @@ INCLUDE_DIRS= -I../include
 
 COMPILE_FLAGS= -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP
 
-CFLAGS= $(COPTS) $(COMPILE_FLAGS) $(INCLUDE_DIRS) '-DDESTDIR="@DESTDIR@"'
+CFLAGS+= $(COMPILE_FLAGS) $(INCLUDE_DIRS) '-DDESTDIR="@DESTDIR@"'
 
 ifdef CHAPMS
 CFLAGS   += -DCHAPMS=1
-- 
2.7.4

