Fix compiler flag usage

The compiler flags overwrote the default values that CMake generates
instead of appending to them.
This commit is contained in:
Markus Mäkelä
2017-02-10 17:19:46 +02:00
parent 04b2475553
commit d2c3be8728
4 changed files with 15 additions and 30 deletions

View File

@ -264,7 +264,7 @@ typedef enum skygw_chk_t
(SERVER_IS_SLAVE(s) ? "RUNNING SLAVE" : \
(SERVER_IS_JOINED(s) ? "RUNNING JOINED" : \
(SERVER_IS_NDB(s) ? "RUNNING NDB" : \
((SERVER_IS_RUNNING(s) && SERVER_IN_MAINT(s)) ? "RUNNING MAINTENANCE" : \
((!SERVER_IS_DOWN(s) && SERVER_IN_MAINT(s)) ? "RUNNING MAINTENANCE" : \
(SERVER_IS_RELAY_SERVER(s) ? "RUNNING RELAY" : \
(SERVER_IS_RUNNING(s) ? "RUNNING (only)" : \
(SERVER_IS_DOWN(s) ? "DOWN" : "UNKNOWN STATUS"))))))))