Skip to content

Commit

Permalink
use -no-strict-aliasing
Browse files Browse the repository at this point in the history
  • Loading branch information
reubenhwk committed Dec 21, 2013
1 parent 00d0abc commit cccce0f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile.am
Expand Up @@ -74,8 +74,8 @@ AM_CFLAGS = \
-Wpointer-arith \
-Wmissing-declarations \
-Wmissing-prototypes \
-Wno-strict-aliasing \
-Wstrict-prototypes
-Wstrict-prototypes \
-fno-strict-aliasing

radvdump_SOURCES = \
$(COMMON_SRC) \
Expand Down
2 changes: 1 addition & 1 deletion redhat/radvd.spec.in
Expand Up @@ -34,7 +34,7 @@ services.
%setup -q

%build
export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIE"
export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIE -fno-strict-aliasing"
export LDFLAGS='-pie -Wl,-z,relro,-z,now,-z,noexecstack,-z,nodlopen'
%configure --with-pidfile=%{_localstatedir}/run/radvd/radvd.pid
make
Expand Down

0 comments on commit cccce0f

Please sign in to comment.