]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
package/rpi-userland: include TARGET_CFLAGS to the overloaded CFLAGS
authorSamuel Martin <s.martin49@gmail.com>
Sun, 16 Oct 2016 11:12:44 +0000 (13:12 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 22 Oct 2016 14:22:15 +0000 (16:22 +0200)
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>
package/rpi-userland/rpi-userland.mk

index 86cde873d4eb4757cb6cbd7bb94585fd0e5f679c..4a6eb41372e48b96b8764b3d8e07c9c0d5e26671 100644 (file)
@@ -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