Sergei Trofimovich 375ef42393 src/rc/rc-logger.h: fix build failure against gcc-10
On gcc-10 (and gcc-9 -fno-common) build fails as:

```
cc  -L../librc -L../libeinfo -O2 -g -std=c99 -Wall -Wextra -Wimplicit -Wshadow \
  -Wformat=2 -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn \
  -Wmissing-format-attribute -Wnested-externs -Winline -Wwrite-strings \
  -Wcast-align -Wcast-qual -Wpointer-arith -Wdeclaration-after-statement \
  -Wsequence-point -Werror=implicit-function-declaration    \
  -Wl,-rpath=/lib   -o openrc rc.o rc-logger.o rc-misc.o rc-plugin.o _usage.o -lutil -lrc -leinfo -Wl,-Bdynamic -ldl
ld: rc-logger.o:/home/slyfox/dev/git/openrc/src/rc/rc-logger.h:16:
  multiple definition of `rc_logger_pid'; rc.o:openrc/src/rc/rc-logger.h:16: first defined here
ld: rc-logger.o:/home/slyfox/dev/git/openrc/src/rc/rc-logger.h:17:
  multiple definition of `rc_logger_tty'; rc.o:openrc/src/rc/rc-logger.h:17: first defined here
```

gcc-10 will change the default from -fcommon to fno-common:
https://gcc.gnu.org/PR85678.

The error also happens if CFLAGS=-fno-common passed explicitly.

This fixes #348.
2020-01-19 16:52:21 -06:00
..
2018-05-22 12:20:38 -05:00
2018-11-27 21:22:29 -05:00
2019-07-24 12:32:23 -05:00
2018-02-26 13:46:47 -06:00
2018-10-13 12:53:54 -04:00
2019-08-19 14:55:54 -05:00
2019-08-19 14:55:54 -05:00
2018-12-27 13:13:09 -06:00
2019-12-05 12:11:08 -06:00
2018-05-22 12:20:38 -05:00
2018-06-19 13:59:16 -05:00
2017-09-18 10:36:17 -05:00
2016-01-22 12:07:13 -06:00
2018-11-05 11:39:39 -06:00
2019-02-15 20:36:46 -06:00
2019-08-20 16:06:46 -05:00
2019-08-20 16:06:46 -05:00
2018-03-21 08:33:33 -04:00
2018-12-27 13:13:09 -06:00
2019-07-24 12:32:23 -05:00
2019-07-24 12:32:23 -05:00