aboutsummaryrefslogtreecommitdiffstats
path: root/mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk')
-rw-r--r--mk/method-linux-drm=yes.mk4
-rw-r--r--mk/method-x-randr=yes.mk4
-rw-r--r--mk/method-x-vidmode=yes.mk4
3 files changed, 6 insertions, 6 deletions
diff --git a/mk/method-linux-drm=yes.mk b/mk/method-linux-drm=yes.mk
index 3867bf6..6d8f56f 100644
--- a/mk/method-linux-drm=yes.mk
+++ b/mk/method-linux-drm=yes.mk
@@ -1,8 +1,8 @@
HDR_LINUX_DRM = method-linux-drm.h
PARAMS_LINUX_DRM = LIBGAMMA_METHOD_LINUX_DRM linux_drm 16 ramps16
CPPFLAGS_LINUX_DRM = -DHAVE_LIBGAMMA_METHOD_LINUX_DRM
-CFLAGS_LINUX_DRM = $$(pkg-config --cflags libdrm)
-LDFLAGS_LINUX_DRM = $$(pkg-config --libs libdrm)
+CFLAGS_LINUX_DRM = $$(pkg-config $(PKGCONFIG_FLAGS) --cflags libdrm)
+LDFLAGS_LINUX_DRM = $$(pkg-config $(PKGCONFIG_FLAGS) --libs libdrm)
DEPS_LINUX_DRM = libdrm
OBJ_LINUX_DRM =\
diff --git a/mk/method-x-randr=yes.mk b/mk/method-x-randr=yes.mk
index 0690df5..07a55e9 100644
--- a/mk/method-x-randr=yes.mk
+++ b/mk/method-x-randr=yes.mk
@@ -1,8 +1,8 @@
HDR_X_RANDR = method-x-randr.h
PARAMS_X_RANDR = LIBGAMMA_METHOD_X_RANDR x_randr 16 ramps16
CPPFLAGS_X_RANDR = -DHAVE_LIBGAMMA_METHOD_X_RANDR
-CFLAGS_X_RANDR = $$(pkg-config --cflags xcb xcb-randr)
-LDFLAGS_X_RANDR = $$(pkg-config --libs xcb xcb-randr)
+CFLAGS_X_RANDR = $$(pkg-config $(PKGCONFIG_FLAGS) --cflags xcb xcb-randr)
+LDFLAGS_X_RANDR = $$(pkg-config $(PKGCONFIG_FLAGS) --libs xcb xcb-randr)
DEPS_X_RANDR = xcb xcb-randr
OBJ_X_RANDR =\
diff --git a/mk/method-x-vidmode=yes.mk b/mk/method-x-vidmode=yes.mk
index 29181c1..c709f20 100644
--- a/mk/method-x-vidmode=yes.mk
+++ b/mk/method-x-vidmode=yes.mk
@@ -1,8 +1,8 @@
HDR_X_VIDMODE = method-x-vidmode.h
PARAMS_X_VIDMODE = LIBGAMMA_METHOD_X_VIDMODE x_vidmode 16 ramps16
CPPFLAGS_X_VIDMODE = -DHAVE_LIBGAMMA_METHOD_X_VIDMODE
-CFLAGS_X_VIDMODE = $$(pkg-config --cflags x11 xxf86vm)
-LDFLAGS_X_VIDMODE = $$(pkg-config --libs x11 xxf86vm)
+CFLAGS_X_VIDMODE = $$(pkg-config $(PKGCONFIG_FLAGS) --cflags x11 xxf86vm)
+LDFLAGS_X_VIDMODE = $$(pkg-config $(PKGCONFIG_FLAGS) --libs x11 xxf86vm)
DEPS_X_VIDMODE = x11 xxf86vm
OBJ_X_VIDMODE =\