fix cflags, fix adjtimex patch (#587)
authorFelix Fietkau <nbd@openwrt.org>
Fri, 9 Jun 2006 01:30:19 +0000 (01:30 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 9 Jun 2006 01:30:19 +0000 (01:30 +0000)
SVN-Revision: 3920

openwrt/package/openntpd/Makefile

index 80c3af1..ed19c18 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):