23 lines
672 B
Diff
23 lines
672 B
Diff
--- pppd/Makefile.linux
|
|
+++ pppd/Makefile.linux
|
|
@@ -33,7 +33,7 @@
|
|
# CC = gcc
|
|
#
|
|
CC = gcc
|
|
-COPTS = $(MY_CFLAGS) -O2 -pipe -Wall
|
|
+COPTS = $(MY_CFLAGS) -O2 -pipe -Wall -fno-strict-aliasing
|
|
LIBS = -lutil
|
|
|
|
|
|
--- pppd/plugins/radius/Makefile.linux
|
|
+++ pppd/plugins/radius/Makefile.linux
|
|
@@ -12,7 +12,7 @@
|
|
INSTALL = install
|
|
|
|
PLUGIN=radius.so radattr.so radrealms.so
|
|
-CFLAGS= $(MY_CFLAGS) -I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON
|
|
+CFLAGS= $(MY_CFLAGS) -I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -fno-strict-aliasing
|
|
|
|
# Uncomment the next line to include support for Microsoft's
|
|
# MS-CHAP authentication protocol.
|