-D_GLIBCXX_ASSERTIONS
-fstrict-flex-arrays=3
-fstack-clash-protection -fstack-protector-strong
--fPIC
+-fPIE -pie
+-Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion
)
target_link_options(c_simple_http PUBLIC
-fstack-clash-protection -fstack-protector-strong
-Wl,-z,noexecstack
-Wl,-z,relro -Wl,-z,now
--fPIC
+-fPIE -pie
+-Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion
)
target_compile_options(unit_tests PUBLIC
-D_GLIBCXX_ASSERTIONS
-fstrict-flex-arrays=3
-fstack-clash-protection -fstack-protector-strong
--fPIC
+-fPIE -pie
+-Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion
)
target_link_options(unit_tests PUBLIC
-fstack-clash-protection -fstack-protector-strong
-Wl,-z,noexecstack
-Wl,-z,relro -Wl,-z,now
--fPIC
+-fPIE -pie
+-Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion
)