mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 01:29:05 -04:00
_FORTIFY_SOURCE, not FORTIFY_SOURCE, thanks Fedora!
This commit is contained in:
parent
ef2e4e626e
commit
b4fb4ee20a
@ -68,7 +68,7 @@ set(PKGCONFIG_DIR "${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig")
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# global compiler flags
|
# global compiler flags
|
||||||
add_compile_definitions(FORTIFY_SOURCE=2)
|
add_compile_definitions(_FORTIFY_SOURCE=2)
|
||||||
add_compile_options(-Wall -Wextra -W -Wshadow -Wformat -Wno-nonnull-compare
|
add_compile_options(-Wall -Wextra -W -Wshadow -Wformat -Wno-nonnull-compare
|
||||||
-Wformat-security -fexceptions -fstrict-aliasing
|
-Wformat-security -fexceptions -fstrict-aliasing
|
||||||
-Wno-string-plus-int)
|
-Wno-string-plus-int)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user