thttpd: fix build, don't override CFLAGS at make time
authorPeter Korsgaard <jacmet@sunsite.dk>
Thu, 22 Jul 2010 10:24:40 +0000 (12:24 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 22 Jul 2010 11:08:24 +0000 (13:08 +0200)
We already provide the correct CFLAGS/LDFLAGS at configure time, so don't pass them
again at make time, as this then overrides the extra CFLAGS (defines) in the Makefile.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
CHANGES
package/thttpd/thttpd.mk

diff --git a/CHANGES b/CHANGES
index 381141a509db9db7bedb2bd5c1b582d4eb9cb0e7..40b92c4631cd53278123dc6e401669780ebd1af0 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -24,8 +24,8 @@
        lmbench, lrzsz, ltrace, make, module-init-tools, mplayer,
        mysql_client, nbd, ncurses, neon, netcat, netperf, ntfsprogs,
        openssl, php, qt, quagga, sqlite, sdl, sdl_mixer, sdl_sound,
-       sdl_ttf, squashfs, tn5250, tremor, usbutils, xkeyboard-config,
-       xserver_xorg-server, xvkbd
+       sdl_ttf, squashfs, thttpd, tn5250, tremor, usbutils,
+       xkeyboard-config, xserver_xorg-server, xvkbd
 
        Removed packages: modutils, portage, rxvt
 
index 88041257c7c7b6dc95a48c0030677e8f9fbe85c2..ca72fae1d530136558a25d9697bca17daa7ec078 100644 (file)
@@ -35,7 +35,7 @@ $(THTTPD_DIR)/.configured: $(THTTPD_DIR)/.unpacked
        touch $(THTTPD_DIR)/.configured
 
 $(THTTPD_DIR)/$(THTTPD_BINARY): $(THTTPD_DIR)/.configured
-       $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(THTTPD_DIR)
+       $(MAKE) -C $(THTTPD_DIR)
 
 $(TARGET_DIR)/$(THTTPD_TARGET_BINARY): $(THTTPD_DIR)/$(THTTPD_BINARY)
        install -D $(THTTPD_DIR)/$(THTTPD_BINARY) $(TARGET_DIR)/$(THTTPD_TARGET_BINARY)