From: Julien BOIBESSOT Date: Mon, 3 Apr 2017 12:25:43 +0000 (+0200) Subject: package/tyrian: fixes compilation with static libs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dd99f2cb7d10f20568cab22c498a9e1831b5a351;p=buildroot.git 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 Signed-off-by: Thomas Petazzoni --- 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