]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
package/tyrian: fixes compilation with static libs
authorJulien BOIBESSOT <julien.boibessot@armadeus.com>
Mon, 3 Apr 2017 12:25:43 +0000 (14:25 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 3 Apr 2017 12:32:40 +0000 (14:32 +0200)
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>
package/opentyrian/opentyrian.mk

index 44175124ae2a2eb08e71e8e947fb0e2c698d45ae..12e41ad998580509cccc479b6c30cd5b2045d63c 100644 (file)
@@ -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