]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
iodine: use correct CFLAGS/LDFLAGS
authorPeter Korsgaard <peter@korsgaard.com>
Wed, 25 Nov 2015 20:38:44 +0000 (21:38 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 25 Nov 2015 20:38:44 +0000 (21:38 +0100)
The iodine build system correctly appends the needed CFLAGS/LDFLAGS to what
was passed in the environment, so use TARGET_CONFIGURE_OPTS to ensure our
flags are passed.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/iodine/iodine.mk

index 57deb9ece8a209fa2f0c3001c8286a3273ef3a4e..3239249e75a738ea1a995a133bcb86ec461fe98d 100644 (file)
@@ -11,7 +11,7 @@ IODINE_LICENSE = MIT
 IODINE_LICENSE_FILES = README
 
 define IODINE_BUILD_CMDS
-       $(MAKE) CC="$(TARGET_CC)" ARCH=$(BR2_ARCH) -C $(@D)
+       $(TARGET_CONFIGURE_OPTS) $(MAKE) ARCH=$(BR2_ARCH) -C $(@D)
 endef
 
 define IODINE_INSTALL_TARGET_CMDS