diff options
| author | Max Filippov <jcmvbkbc@gmail.com> | 2014-05-12 07:27:04 +0400 |
|---|---|---|
| committer | Peter Korsgaard <peter@korsgaard.com> | 2014-05-12 22:49:07 +0200 |
| commit | 66a87eea361ef121ff09074e937181d9cd89fe32 (patch) | |
| tree | 5384d9f51de52fdb33f178fd2a6e07d15576d0c2 | |
| parent | 09322f456b7d00989a6a340a377096499c11e1db (diff) | |
| download | buildroot-66a87eea361ef121ff09074e937181d9cd89fe32.tar.gz buildroot-66a87eea361ef121ff09074e937181d9cd89fe32.zip | |
libcgroup: fix passing CFLAGS/LDFLAGS to configure
LIBCGROUP_CONF_ENV is a string used to pass environment variables to the
confgiure script, '+=' operator doesn't have any special meaning inside
it, so CFLAGS+=... is passed to shell, overwriting previous CFLAGS
value. Replace CFLAGS+="..." with CFLAGS="$(TARGET_CFLAGS) ...".
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| -rw-r--r-- | package/libcgroup/libcgroup.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/libcgroup/libcgroup.mk b/package/libcgroup/libcgroup.mk index 6d7ae54665..0ef1e91283 100644 --- a/package/libcgroup/libcgroup.mk +++ b/package/libcgroup/libcgroup.mk @@ -16,8 +16,8 @@ LIBCGROUP_INSTALL_STAGING = YES # large file support. See https://bugzilla.redhat.com/show_bug.cgi?id=574992 # for more information. LIBCGROUP_CONF_ENV = \ - CXXFLAGS+="-U_FILE_OFFSET_BITS" \ - CFLAGS+="-U_FILE_OFFSET_BITS" + CXXFLAGS="$(TARGET_CXXFLAGS) -U_FILE_OFFSET_BITS" \ + CFLAGS="$(TARGET_CFLAGS) -U_FILE_OFFSET_BITS" LIBCGROUP_CONF_OPT = \ --disable-tools \ |

