summaryrefslogtreecommitdiff
path: root/configs/linux-solo
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2007-10-25 15:46:40 +0100
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2007-10-25 23:37:25 +0100
commit1d2ff452d4dd8fb7f2f5e53b360b29254fc4db41 (patch)
tree0d76b6ea19f24b56caa2a18f81b464881f3ad15e /configs/linux-solo
parent414a933ad24e11e9655dc00ae55d8753f2021fe5 (diff)
Expand pkg-config flags before invoking the compiler.
This allows IDEs such as Eclipse to get the correct c-preprocessor flags used from the build output.
Diffstat (limited to 'configs/linux-solo')
-rw-r--r--configs/linux-solo8
1 files changed, 4 insertions, 4 deletions
diff --git a/configs/linux-solo b/configs/linux-solo
index 2d0817dfb7..220fe58b9a 100644
--- a/configs/linux-solo
+++ b/configs/linux-solo
@@ -16,10 +16,10 @@ PIC_FLAGS = -fPIC
ARCH_FLAGS ?=
# DRM and pciaccess
-LIBDRM_CFLAGS = `pkg-config --cflags libdrm`
-LIBDRM_LIB = `pkg-config --libs libdrm`
-PCIACCESS_CFLAGS = `pkg-config --cflags pciaccess`
-PCIACCESS_LIB = `pkg-config --libs pciaccess`
+LIBDRM_CFLAGS = $(shell pkg-config --cflags libdrm)
+LIBDRM_LIB = $(shell pkg-config --libs libdrm)
+PCIACCESS_CFLAGS = $(shell pkg-config --cflags pciaccess)
+PCIACCESS_LIB = $(shell pkg-config --libs pciaccess)
DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \