Author: ngie
Date: Tue Mar 28 20:30:33 2017
New Revision: 316104
URL: https://svnweb.freebsd.org/changeset/base/316104

Log:
  Use `NO_WCAST_ALIGN` instead of spelling it out as -Wno-cast-align in CFLAGS
  
  MFC after:    3 days
  Sponsored by: Dell EMC Isilon

Modified:
  head/sys/boot/i386/gptzfsboot/Makefile

Modified: head/sys/boot/i386/gptzfsboot/Makefile
==============================================================================
--- head/sys/boot/i386/gptzfsboot/Makefile      Tue Mar 28 20:26:04 2017        
(r316103)
+++ head/sys/boot/i386/gptzfsboot/Makefile      Tue Mar 28 20:30:33 2017        
(r316104)
@@ -33,11 +33,13 @@ CFLAGS=     -DBOOTPROG=\"gptzfsboot\" \
        -I${.CURDIR}/../btx/lib -I. \
        -I${.CURDIR}/../boot2 \
        -I${.CURDIR}/../../.. \
-       -Wall -Waggregate-return -Wbad-function-cast -Wno-cast-align \
+       -Wall -Waggregate-return -Wbad-function-cast \
        -Wmissing-declarations -Wmissing-prototypes -Wnested-externs \
        -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings \
        -Winline -Wno-pointer-sign
 
+NO_WCAST_ALIGN=
+
 .if ${COMPILER_TYPE} == "clang" || \
     (${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} > 40201)
 CFLAGS+=       -Wno-tentative-definition-incomplete-type
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to