summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2009-07-09 15:51:51 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2009-07-09 15:51:51 +0000
commit74efeb065219079db2a7be12f733f857cc4a8b06 (patch)
treef8959b16b3d4811d7e236800a4f42c97ac9ed965 /mdk-stage1
parent04a52b5c3a605a93b7ec33d9b1c18ba1efb2e799 (diff)
downloaddrakx-74efeb065219079db2a7be12f733f857cc4a8b06.tar
drakx-74efeb065219079db2a7be12f733f857cc4a8b06.tar.gz
drakx-74efeb065219079db2a7be12f733f857cc4a8b06.tar.bz2
drakx-74efeb065219079db2a7be12f733f857cc4a8b06.tar.xz
drakx-74efeb065219079db2a7be12f733f857cc4a8b06.zip
disable strict aliasing when compiling rppppoe since it's not safe
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/rp-pppoe/src/Makefile2
1 files changed, 1 insertions, 1 deletions
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