mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
rp-pppoe: Define _GNU_SOURCE
Ensures that it picks up definitions of strlcpy() from string.h Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
63749f10a4
commit
864cea3d64
@ -25,6 +25,9 @@ inherit autotools-brokensep update-rc.d systemd
|
||||
|
||||
CACHED_CONFIGUREVARS += "${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'be', 'rpppoe_cv_pack_bitfields=normal', 'rpppoe_cv_pack_bitfields=rev', d)}"
|
||||
|
||||
# Needed for strlcpy()
|
||||
CFLAGS += "-D_GNU_SOURCE"
|
||||
|
||||
do_install:append() {
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/pppoe-server.service ${D}${systemd_unitdir}/system
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user