package/dmenu-wayland: fix uclibc build

Set -std=gnu99 to fix the following uclibc build failure raised since
the addition of the package in commit
2f6b1b8e68:

../draw.c:37:23: error: 'CLOCK_REALTIME' undeclared (first use in this function)
   37 |         clock_gettime(CLOCK_REALTIME, &ts);
      |                       ^~~~~~~~~~~~~~

Fixes: 2f6b1b8e68
 - http://autobuild.buildroot.org/results/4b9db67fb444ec35d741e5d3e74263ac0c4d4a7d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit 46bb598f1a)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2024-03-05 12:11:34 +01:00 committed by Peter Korsgaard
parent 7a5eda5009
commit e5c204820d

View File

@ -8,6 +8,7 @@ DMENU_WAYLAND_VERSION = a380201dff5bfac2dace553d7eaedb6cea6855f9
DMENU_WAYLAND_SITE = $(call github,nyyManni,dmenu-wayland,$(DMENU_WAYLAND_VERSION)) DMENU_WAYLAND_SITE = $(call github,nyyManni,dmenu-wayland,$(DMENU_WAYLAND_VERSION))
DMENU_WAYLAND_LICENSE = MIT DMENU_WAYLAND_LICENSE = MIT
DMENU_WAYLAND_LICENSE_FILES = LICENSE DMENU_WAYLAND_LICENSE_FILES = LICENSE
DMENU_WAYLAND_CFLAGS = $(TARGET_CFLAGS) -std=gnu99
# host-wayland is for wayland-scanner # host-wayland is for wayland-scanner
DMENU_WAYLAND_DEPENDENCIES = \ DMENU_WAYLAND_DEPENDENCIES = \