diff options
author | Samuel Martin <s.martin49@gmail.com> | 2016-10-16 13:12:40 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-10-22 16:21:04 +0200 |
commit | b353ce1315270e228d8c24f209f2037eec41b601 (patch) | |
tree | f0273f3b148d5e43e82e89602ec3afb906be85d2 | |
parent | 12494ef48f893684d0800e7f6fe39a2ceaed0451 (diff) | |
download | buildroot-b353ce1315270e228d8c24f209f2037eec41b601.tar.gz buildroot-b353ce1315270e228d8c24f209f2037eec41b601.zip |
package/gflags: include TARGET_CXXFLAGS to the overloaded CXXFLAGS
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/gflags/gflags.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/gflags/gflags.mk b/package/gflags/gflags.mk index 9dc4e15b6f..89111ed987 100644 --- a/package/gflags/gflags.mk +++ b/package/gflags/gflags.mk @@ -11,7 +11,8 @@ GFLAGS_LICENSE = BSD-3c GFLAGS_LICENSE_FILES = COPYING.txt ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),) -GFLAGS_CONF_OPTS = -DBUILD_gflags_LIB=OFF -DCMAKE_CXX_FLAGS=-DNO_THREADS +GFLAGS_CONF_OPTS = -DBUILD_gflags_LIB=OFF \ + -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -DNO_THREADS" endif $(eval $(cmake-package)) |