pass the CFLAGS through the environment on compile and fix a few packages
[openwrt/svn-archive/archive.git] / package / keynote / Makefile
index 5793004..ed4d4f0 100644 (file)
@@ -42,11 +42,7 @@ define Build/Configure
        )
 endef
 
-define Build/Compile
-       $(call Build/Compile/Default, \
-               CFLAGS="\$$$$(EXTRA_CFLAGS) \$$$$(EXTRA_LDFLAGS)" \
-       )
-endef
+EXTRA_CFLAGS += $(EXTRA_LDFLAGS)
 
 define Build/InstallDev
        mkdir -p $(STAGING_DIR)/usr/include