From 74efeb065219079db2a7be12f733f857cc4a8b06 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Thu, 9 Jul 2009 15:51:51 +0000 Subject: disable strict aliasing when compiling rppppoe since it's not safe --- mdk-stage1/rp-pppoe/src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mdk-stage1') diff --git a/mdk-stage1/rp-pppoe/src/Makefile b/mdk-stage1/rp-pppoe/src/Makefile index 6f3eb4fa4..321628b41 100644 --- a/mdk-stage1/rp-pppoe/src/Makefile +++ b/mdk-stage1/rp-pppoe/src/Makefile @@ -28,7 +28,7 @@ all: $(TARGETS) clean: rm -f *.o *.a $(BINTARGET) pppoe -FLAGS = -Wall -Werror -Os -fomit-frame-pointer '-DPPPOE_PATH="/sbin/pppoe"' '-DPPPD_PATH="/sbin/pppd"' '-DVERSION="3.0-stg1"' +FLAGS = -Wall -Werror -Os -fno-strict-aliasing -fomit-frame-pointer '-DPPPOE_PATH="/sbin/pppoe"' '-DPPPD_PATH="/sbin/pppd"' '-DVERSION="3.0-stg1"' ifeq (GLIBC, $(L)) EXTRA_LDFLAGS = -static -- cgit v1.2.1