batmand: use GNU_SOURCE for musl
enable extensions to fix errors like: posix/tunnel.c:95:82: error: 'struct udphdr' has no member named 'dest' Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
This commit is contained in:
parent
cad0d08ade
commit
c53d6cf59b
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ Kernel gateway module for B.A.T.M.A.N. for better tunnel performance
|
||||||
endef
|
endef
|
||||||
|
|
||||||
MAKE_BATMAND_ARGS += \
|
MAKE_BATMAND_ARGS += \
|
||||||
EXTRA_CFLAGS='$(TARGET_CFLAGS) $(PKG_EXTRA_CFLAGS)' \
|
EXTRA_CFLAGS='$(TARGET_CFLAGS) $(PKG_EXTRA_CFLAGS) -D_GNU_SOURCE' \
|
||||||
CCFLAGS="$(TARGET_CFLAGS)" \
|
CCFLAGS="$(TARGET_CFLAGS)" \
|
||||||
OFLAGS="$(TARGET_CFLAGS)" \
|
OFLAGS="$(TARGET_CFLAGS)" \
|
||||||
REVISION="$(PKG_REV)" \
|
REVISION="$(PKG_REV)" \
|
||||||
|
|
Loading…
Reference in a new issue