diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2010-05-30 09:32:15 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-05-30 09:32:15 +0200 |
commit | a4bba08343325113122b6601b09fe70e501bd93b (patch) | |
tree | d785470cc7bb5a10f9157138f8f8e1d155229803 /package/lockfile-progs | |
parent | bc065596b4dd69fa36e2f8319b63fc4cd9e18529 (diff) | |
download | buildroot-novena-a4bba08343325113122b6601b09fe70e501bd93b.tar.gz buildroot-novena-a4bba08343325113122b6601b09fe70e501bd93b.zip |
lockfile-progs: use correct CFLAGS
Use the correct CFLAGS from BR and not just the LDFLAGS. This is especially
important for external toolchain setups, but the lockfile-progs buildsystem
also hardcodes -Werror, which breaks the build in certain setups.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/lockfile-progs')
-rw-r--r-- | package/lockfile-progs/lockfile-progs.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/lockfile-progs/lockfile-progs.mk b/package/lockfile-progs/lockfile-progs.mk index 6494f8119..4098330ba 100644 --- a/package/lockfile-progs/lockfile-progs.mk +++ b/package/lockfile-progs/lockfile-progs.mk @@ -21,7 +21,7 @@ $(LOCKFILE_PROGS_DIR)/.unpacked: $(DL_DIR)/$(LOCKFILE_PROGS_SOURCE) touch $(LOCKFILE_PROGS_DIR)/.unpacked $(TARGET_DIR)/$(LOCKFILE_PROGS_BINARY): $(LOCKFILE_PROGS_DIR)/.unpacked - $(MAKE) $(TARGET_CONFIGURE_OPTS) LDFLAGS="$(TARGET_LDFLAGS)" \ + $(MAKE) $(TARGET_CONFIGURE_OPTS) $(TARGET_CONFIGURE_ENV) \ -C $(LOCKFILE_PROGS_DIR) cp -a $(LOCKFILE_PROGS_DIR)/bin/lockfile* $(TARGET_DIR)/usr/bin $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/$(LOCKFILE_PROGS_BINARY) |