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 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):