summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Martin <s.martin49@gmail.com>2016-10-16 13:12:44 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-10-22 16:22:15 +0200
commit8e84b9003d8259472f9c79b385443b1b4975203e (patch)
treeca9b8349cf0b668b4e56daed2b80e66f2dbb775a
parenteb26296666d81c4f85355a94c16dc190d3f2015d (diff)
package/rpi-userland: include TARGET_CFLAGS to the overloaded CFLAGS
Signed-off-by: Samuel Martin <s.martin49@gmail.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/rpi-userland/rpi-userland.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/rpi-userland/rpi-userland.mk b/package/rpi-userland/rpi-userland.mk
index 86cde873d..4a6eb4137 100644
--- a/package/rpi-userland/rpi-userland.mk
+++ b/package/rpi-userland/rpi-userland.mk
@@ -10,7 +10,8 @@ RPI_USERLAND_LICENSE = BSD-3c
RPI_USERLAND_LICENSE_FILES = LICENCE
RPI_USERLAND_INSTALL_STAGING = YES
RPI_USERLAND_CONF_OPTS = -DVMCS_INSTALL_PREFIX=/usr \
- -DCMAKE_C_FLAGS="-DVCFILED_LOCKFILE=\\\"/var/run/vcfiled.pid\\\""
+ -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) \
+ -DVCFILED_LOCKFILE=\\\"/var/run/vcfiled.pid\\\""
RPI_USERLAND_PROVIDES = libegl libgles libopenmax libopenvg