mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19:03 -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()
|
||||
|
||||
# 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
|
||||
-Wformat-security -fexceptions -fstrict-aliasing
|
||||
-Wno-string-plus-int)
|
||||
|
Loading…
x
Reference in New Issue
Block a user