sysklogd: override SKFLAGS with TARGET_CFLAGS
authorRomain Naour <romain.naour@gmail.com>
Sat, 20 Feb 2016 11:28:50 +0000 (12:28 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 20 Feb 2016 20:22:31 +0000 (21:22 +0100)
commitea4266211d7e9268cc8bf04f986abaa1135d48a2
tree4aa22b1404689760e781192d695cdc4d79cd397a
parent498055a8c2e66a8a36b6205555b1c7e806b4d31f
sysklogd: override SKFLAGS with TARGET_CFLAGS

TARGET_CFLAGS is not taken into account since SKFLAGS is used as CFLAGS.
We need to override SKFLAGS with TARGET_CFLAGS but keep -DSYSV which was
present in SKFLAGS.

Improve the previous fix introduced by
8e3a5c13546451c0c6ceb8bc64e4397ceed14aca.

Fixes:
http://autobuild.buildroot.net/results/2fb/2fb94ecfdc32761a09da35e6fcbdd512847ec911

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Reported-by: Peter Korsgaard <peter@korsgaard.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/sysklogd/sysklogd.mk