Skip to content

Commit a0ffbfb

Browse files
committed
CMake: Get the comment about EXTRA_CFLAGS right. [skip ci]
The "testprogs" sentence applies to libpcap only.
1 parent af7e049 commit a0ffbfb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1044,8 +1044,7 @@ if(NOT "${EXTRA_CFLAGS}" STREQUAL "")
10441044
# The meaning of EXTRA_CFLAGS is "use the exact specified options, or the
10451045
# build risks failing to fail", not "try every specified option, omit those
10461046
# that do not work and use the rest". Thus use add_compile_options(), not
1047-
# foreach()/check_and_add_compiler_option(). Another reason to do that is
1048-
# that the effect lasts in testprogs/ and testprogs/fuzz/.
1047+
# foreach()/check_and_add_compiler_option().
10491048
string(REPLACE " " ";" _extra_cflags_list ${EXTRA_CFLAGS})
10501049
add_compile_options(${_extra_cflags_list})
10511050
message(STATUS "Added extra compile options (${EXTRA_CFLAGS})")

0 commit comments

Comments
 (0)