use target optimizations
[openwrt/svn-archive/archive.git] / utils / logrotate / Makefile
index 22734ce..51f8380 100644 (file)
@@ -45,7 +45,7 @@ endef
 
 define Build/Compile
        $(call Build/Compile/Default, \
-               RPM_OPT_FLAGS="$(EXTRA_CFLAGS)" \
+               RPM_OPT_FLAGS="$(TARGET_CFLAGS) $(EXTRA_CPPFLAGS)" \
                LDFLAGS="$(EXTRA_LDFLAGS)" \
                logrotate \
        )