]> git.ipfire.org Git - people/ms/rstp.git/blobdiff - Makefile
Turn off compiler strict aliasing
[people/ms/rstp.git] / Makefile
index eb8df0c48c6e40aae275bdaab569d67eb69b74bb..7da92b344a458db462e056c5f5a6d3ebdd097f11 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 
-DSOURCES = brstate.c libnetlink.c epoll_loop.c bridge_track.c \
-          packet.c ctl_socket.c netif_utils.c main.c
+DSOURCES =  brstate.c libnetlink.c epoll_loop.c bridge_track.c \
+          packet.c ctl_socket.c netif_utils.c main.c brmon.c
 
 DOBJECTS = $(DSOURCES:.c=.o)
 
@@ -9,7 +9,8 @@ CTLSOURCES = ctl_main.c ctl_cli_wrap.c ctl_socket_client.c
 CTLOBJECTS = $(CTLSOURCES:.c=.o)
 
 CC=gcc
-CFLAGS = -Wall -Werror -O2 -g -D_REENTRANT -D__LINUX__ -DVERSION=$(version) -DBUILD=$(build) -DSTP_DBG=1 -I. -I./include -I./rstplib
+CFLAGS = -Wall -Werror -fno-strict-aliasing -O2 -g -D_REENTRANT -D__LINUX__ \
+       -DVERSION=$(version) -DBUILD=$(build) -I. -I./include -I./rstplib
 
 all: rstpd rstpctl