mirror of
https://github.com/znc/znc.git
synced 2026-08-06 17:03:14 +02:00
Force including zncconfig.h at the beginning of every .cpp
Otherwise it's easy to have STL compiled with different options in different .cpp's, which leads to very weird crashes.
This commit is contained in:
@@ -70,6 +70,7 @@ appendLD () {
|
||||
}
|
||||
|
||||
appendCXX "-D_FORTIFY_SOURCE=2"
|
||||
appendCXX "-include znc/zncconfig.h"
|
||||
|
||||
case "${host_os}" in
|
||||
freebsd*)
|
||||
|
||||
Reference in New Issue
Block a user