summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien BOIBESSOT <julien.boibessot@armadeus.com>2017-04-03 14:25:43 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-04-03 14:32:40 +0200
commitdd99f2cb7d10f20568cab22c498a9e1831b5a351 (patch)
tree0488f8c5bec74536081e988d883d5cad2c3d2913
parent872ec6ed1c0afbd7a1f7dda989a57b14ef4eff7a (diff)
downloadbuildroot-dd99f2cb7d10f20568cab22c498a9e1831b5a351.tar.gz
buildroot-dd99f2cb7d10f20568cab22c498a9e1831b5a351.zip
package/tyrian: fixes compilation with static libs
Has been tested with: "./support/scripts/test-pkg -c tyrian.cfg -p opentyrian" Fixes: http://autobuild.buildroot.net/results/0e2345db82b33f591958fc0f72ad914adafe0522 and some similar previous build failure. Thanks Thomas for the tip ;-). Signed-off-by: Julien BOIBESSOT <julien.boibessot@armadeus.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/opentyrian/opentyrian.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/opentyrian/opentyrian.mk b/package/opentyrian/opentyrian.mk
index 44175124ae..12e41ad998 100644
--- a/package/opentyrian/opentyrian.mk
+++ b/package/opentyrian/opentyrian.mk
@@ -24,7 +24,7 @@ define OPENTYRIAN_BUILD_CMDS
CC="$(TARGET_CC)" \
STRIP="/bin/true" \
SDL_CONFIG="$(STAGING_DIR)/usr/bin/sdl-config" \
- LDFLAGS="-lm" \
+ LDFLAGS="$(TARGET_LDFLAGS) -lm" \
WITH_NETWORK="$(OPENTYRIAN_NETWORK)" \
-C $(@D) release
endef
OpenPOWER on IntegriCloud