mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Implement NO_WCAST_QUAL for gcc4.2 architectures
This commit is contained in:
parent
b3995bb872
commit
0a646b9715
1 changed files with 3 additions and 0 deletions
|
|
@ -68,6 +68,9 @@ CWARNEXTRA+= -Wno-error=misleading-indentation \
|
|||
.else
|
||||
# For gcc 4.2, eliminate the too-often-wrong warnings about uninitialized vars.
|
||||
CWARNEXTRA?= -Wno-uninitialized
|
||||
# GCC 4.2 doesn't have -Wno-error=cast-qual, so just disable the warning for
|
||||
# the few files that are already known to generate cast-qual warnings.
|
||||
NO_WCAST_QUAL= -Wno-cast-qual
|
||||
.endif
|
||||
.endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue