forked from osmocom/wireshark
Fix setting COMMON_WARN_FLAGS.
If we want to add -Wframe-larger-than=16384, *append* it, don't *overwrite* it. Indent that code properly while we're at it. Change-Id: Iae8894e6663500620a07589fd6ba3d00f9eac7ba Reviewed-on: https://code.wireshark.org/review/22977 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
b0b874815d
commit
cd7c47e638
|
@ -451,14 +451,15 @@ else()
|
||||||
-Wno-long-long
|
-Wno-long-long
|
||||||
-Wheader-guard
|
-Wheader-guard
|
||||||
)
|
)
|
||||||
if((NOT ENABLE_ASAN) AND (NOT ENABLE_UBSAN))
|
|
||||||
#
|
if((NOT ENABLE_ASAN) AND (NOT ENABLE_UBSAN))
|
||||||
# Code that may be worth looking into (coding practices)
|
#
|
||||||
#
|
# Code that may be worth looking into (coding practices)
|
||||||
set(COMMON_WARN_FLAGS
|
#
|
||||||
-Wframe-larger-than=16384
|
set(COMMON_WARN_FLAGS ${COMMON_WARN_FLAGS}
|
||||||
)
|
-Wframe-larger-than=16384
|
||||||
endif()
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
set(C_WARN_FLAGS
|
set(C_WARN_FLAGS
|
||||||
# The following are C only, not C++
|
# The following are C only, not C++
|
||||||
|
|
Loading…
Reference in New Issue