fix cflags, fix adjtimex patch (#587)
[openwrt/svn-archive/archive.git] / openwrt / package / openntpd / Makefile
index 80c3af1b9a2a64a958e572e6121dd4c2ca1f87c9..ed19c18d1d7439794dc7185611039efb3eba2266 100644 (file)
@@ -52,7 +52,9 @@ $(PKG_BUILD_DIR)/.configured:
        touch $@
 
 $(PKG_BUILD_DIR)/.built:
-       $(MAKE) -C $(PKG_BUILD_DIR)
+       $(MAKE) -C $(PKG_BUILD_DIR) \
+               $(TARGET_CONFIGURE_OPTS) \
+               CFLAGS="$(TARGET_CFLAGS) -DUSE_ADJTIMEX"
        touch $@
 
 $(IPKG_OPENNTPD):