Browse Source

syslog-ng: fixed build by passing -std=gnu99

Note:

By default the Makefile defines 'CC=gcc -std=gnu99' and because we
automatically pass 'CC=gcc' as make argument which overwrites the
the needed '-std=gnu99' we need to workaround the problem manually
user/chris/next/shadow
Christian Wiese 13 years ago
parent
commit
16939a4bb3
  1. 5
      base/syslog-ng/syslog-ng.conf

5
base/syslog-ng/syslog-ng.conf

@ -20,5 +20,10 @@ else
var_append extraconfopt " " "--enable-dynamic-linking"
fi
# by default the Makefile defines 'CC=gcc -std=gnu99' and because we
# automatically pass 'CC=gcc' as make argument which overwrites the
# the needed '-std=gnu99' we need to workaround the problem manually
CC="gcc -std=gnu99"
hook_add postmake 5 'cp -v $confdir/etc_syslog-ng.conf $root/etc/syslog-ng.conf'

Loading…
Cancel
Save